Closed lesserror-hxr closed 2 years ago
在Mac下面,进入到$GOROOT下的src目录中,执行以下命令:
cat $(find . -name '*.go') | indents | sort | uniq -c | sort -nr | sed 30q
无论是bash还是zsh,都会报错:command not found: indents
这块儿少了一个脚注:indents命令的下载安装地址:indents命令:https://github.com/bigwhite/go/tree/master/cmd/indents
在Mac下面,进入到$GOROOT下的src目录中,执行以下命令:
cat $(find . -name '*.go') | indents | sort | uniq -c | sort -nr | sed 30q
无论是bash还是zsh,都会报错:command not found: indents