文件的基目录:ast
文件中指定的包:ast_test
???
在同一目录内的所有其他文件中指定的包:ast
来自golang.org :
src contains Go source files organized into packages (one package per directory)
...
By convention, packages are given lower case, single-word names; there should be no need for underscores or mixedCaps
...Another convention is that the package name is the base name of its source directory
如何在一个文件夹中有多个包(这里是 2 个)?