• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

go命令帮助

原作者: [db:作者] 来自: [db:来源] 收藏 邀请
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.

  


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
GO格式化打印发布时间:2022-07-10
下一篇:
go单元测试go-sqlmock发布时间:2022-07-10
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap