This is a created article in which the information may have evolved or changed.
Go source code root directory structure
|–authors-file, official go language author list
|–contributors-file, third-party contributors list
|–license-file, Go Language release licensing agreement
|–patents-file, patent
|–readme-file, README file, everyone understand. Mention, often someone said: Go official website can not open ah, how to do? In fact, in the readme said this. The file also mentions that if you have a binary installation, you need to set the GOROOT environment variable, and if you put go in/usr/local/go, you can not set the environment variable (under Windows is C:\go). Of course, it is recommended to set goroot whenever you are. Also, make sure that the $goroot/bin is in the path directory.
|–version-file, current go version
|–api-directory with all API lists for easy access to the IDE
|–doc-directory, go language of the various documents, the official network has, there will be basically, this is why the local "official website" can be built. There are many other resources, such as the Gopher icon.
|–favicon.ico-file, official website logo
|–include-directory, the header file of the library that the Go base tool relies on
|–lib-Directory, document template
|–misc-directory, some other tools, the equivalent of a hodgepodge, most of the various editors go language support, as well as CGO examples, etc.
|–robots.txt-file, search engine robots file
|–src-directory, go Language Source: Basic tools (compiler, etc.), standard library
The |–test-directory contains many test programs (not _TEST.GO unit tests, but tests that contain the main package), including some fixbug tests. This can be used to learn some of the characteristics of the use.