Your Docusaurus site did not load properly.

A very common reason is a wrong site baseUrl configuration.

Current configured baseUrl = / (default value)

We suggest trying baseUrl =

解决Linux kernel >=5.10.13无法使用Docker

Stitch-Zhang

Stitch-Zhang

A iddle programer

原因#

高版本Linux内核中Apparmor机制会使docker无法使用,具体表现为无法启动容器

其提示如下所示

···
caused: process_linux.go:495: container init caused: apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/exec: invalid argument: unknown.
···

【转载】Uber-Go风格规范

Uber Go

Uber Go

Uber's open source software for Go development

Uber-Go-Guide#

介绍#

Uber 是一家美国硅谷的科技公司,也是 Go 语言的早期 adopter。其开源了很多 golang 项目,诸如被 Gopher 圈熟知的 zapjaeger 等。2018 年年末 Uber 将内部的 Go 风格规范 开源到 GitHub,经过一年的积累和更新,该规范已经初具规模,并受到广大 Gopher 的关注。