github.com/ccccaoqing/test@v0.0.0-20220510085219-3985d23445c0/README (about) 1 This is the source code repository for the Go programming language. 2 3 For documentation about how to install and use Go, 4 visit http://golang.org/ or load doc/install-source.html 5 in your web browser. 6 7 After installing Go, you can view a nicely formatted 8 doc/install-source.html by running godoc --http=:6060 9 and then visiting http://localhost:6060/doc/install/source. 10 11 Unless otherwise noted, the Go source files are distributed 12 under the BSD-style license found in the LICENSE file. 13 14 -- 15 16 Binary Distribution Notes 17 18 If you have just untarred a binary Go distribution, you need to set 19 the environment variable $GOROOT to the full path of the go 20 directory (the one containing this README). You can omit the 21 variable if you unpack it into /usr/local/go, or if you rebuild 22 from sources by running all.bash (see doc/install.html). 23 You should also add the Go binary directory $GOROOT/bin 24 to your shell's path. 25 26 For example, if you extracted the tar file into $HOME/go, you might 27 put the following in your .profile: 28 29 export GOROOT=$HOME/go 30 export PATH=$PATH:$GOROOT/bin 31 32 See doc/install.html for more details.