我从 github 克隆的应用程序很少,但不确定我是否做对了所有事情。我最近安装了go。
$ go
Go is a tool for managing Go source code.
Usage:
go command [arguments]
The commands are:
build compile packages and dependencies
clean remove object files
doc show documentation for package or symbol
env print Go environment information
fix run go tool fix on packages
fmt run gofmt on package sources
generate generate Go files by processing source
get download and install packages and dependencies
install compile and install packages and dependencies
list list packages
run compile and run Go program
test test packages
tool run specified go tool
version print Go version
vet run go tool vet on packages
Use "go help [command]" for more information about a command.
Additional help topics:
c calling between Go and C
buildmode description of build modes
filetype file types
gopath GOPATH environment variable
environment environment variables
importpath import path syntax
packages description of package lists
testflag description of testing flags
testfunc description of testing functions
Use "go help [topic]" for more information about that topic.
而且我已经相应配置了一些东西(导出的变量等。)也将它们添加到 ~/.bashrc 但是我仍然需要更改目录并转到我的 go/bin 文件夹。这是所有正在做的事情还是我可以做的事情改变。如果您能在某种文档上指出我,那就太好了(请不要去朗读!)。
我在 Mac OS X 上。
千万里不及你
繁星淼淼
相关分类