go命令帮助
2024-08-31 06:39:19
Go is a tool for managing Go source code. go-->管理go源码的工具-->管理工具,包含很多功能命令 Usage: go <command> [arguments]
go 功能命令 参数 The commands are: bug start a bug report 开启bug报告
build compile packages and dependencies 编译包/依赖
clean remove object files and cached files 删除对象文件/缓存文件
doc show documentation for package or symbol 显示包/符号文档
env print Go environment information 打印输出go环境变量
fix update packages to use new APIs 更新包,使用新的APIs
fmt gofmt (reformat) package sources 重新格式化包源码
generate generate Go files by processing source 通过处理源码生产go文件
get add dependencies to current module and install them 给当前模块添加依赖,并且安装
install compile and install packages and dependencies 编译并安装包/依赖
list list packages or modules 显示包/模块
mod module maintenance 模块维护
run compile and run Go program 编译并运行go程序
test test packages 测试包
tool run specified go tool 运行指定的go工具
version print Go version 显示go版本
vet report likely mistakes in packages 报告包中可能出现的错误 Use "go help <command>" for more information about a command.
go help 功能命令 可以查看更多用法 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.
最新文章
- Kernels
- wndows程序设计之书籍知识与代码摘录-获取视屏显示器像素等参数GetsystemMetrics
- MapReduce 实现数据join操作
- 关于Liferay所有的能够进行自定义和扩展的东西的总结
- Qt: 界面中使用中文(三种方法,QApplication::translate可指定编码)
- Java EE 7 / JAX-RS 2.0: Simple REST API Authentication &; Authorization with Custom HTTP Header--reference
- 注册界面的优化之ActionBar组件的应用之(二)ActionBar组件的事件处理
- sql server 修改表自增列的值
- 基于visual Studio2013解决C语言竞赛题之1042字符串比较
- android应用程序fps meter[帧数显示]的分析 —— 浅谈root的风险 (1)
- 前端项目中常用es6知识总结 -- 箭头函数及this指向、尾调用优化
- Python之常用第三方库总结
- 使用mysql设计一个全局订单生产计数器
- 区块链--Ubuntu上搭建以太坊私有链
- 如何快速申请苹果IOS个人开发者账号
- 别人的Linux私房菜(4)安装CentOS7
- HDU 3949 XOR
- 20155339 Exp8 Web基础
- C#实现json的序列化和反序列化
- Android ScrollView 和ListView 一起使用的问题汇总