go 命令

Usage:

	go <command> [arguments]

The commands are:

	bug         启动错误报告
	build       编译包和依赖项
	clean       删除对象文件和缓存文件
	doc         显示包或符号的文档
	env         打印Go环境信息
	fix         更新包以使用新的Api
	fmt         gofmt (reformat) package sources
	generate    generate Go files by processing source
	get         将依赖项添加到当前模块并安装它们
	install     编译安装包和依赖项
	list        列出包或模块
	mod         模块维护
	run         编译并运行Go程序
	test        test packages
	tool        运行指定的go工具
	version     print Go version
	vet         报告包中可能出现的错误

Use "go help <command>" for more information about a command.

Additional help topics:

	buildmode   build modes
	c           calling between Go and C
	cache       build and test caching
	environment environment variables
	filetype    file types
	go.mod      the go.mod file
	gopath      GOPATH environment variable
	gopath-get  legacy GOPATH go get
	goproxy     module proxy protocol
	importpath  import path syntax
	modules     modules, module versions, and more
	module-get  module-aware go get
	module-auth module authentication using go.sum
	module-private module configuration for non-public modules
	packages    package lists and patterns
	testflag    testing flags
	testfunc    testing functions

Use "go help <topic>" for more information about that topic.

posted @ 2020-01-02 21:31  MADE.BEER  阅读(138)  评论(0编辑  收藏  举报