gopm


作用:用户go get无法下载翻墙的时候的包,可以用gopm下载

gopm 安装

go get github.com/gpmgo/gopm
go install github.com/gpmgo/gopm

使用说明

NAME:
   Gopm - Go Package Manager

USAGE:
   Gopm [global options] command [command options] [arguments...]

VERSION:
   0.8.8.0307 Beta

COMMANDS:
   list         list all dependencies of current project
   gen          generate a gopmfile for current Go project
   get          fetch remote package(s) and dependencies
   bin          download and link dependencies and build binary
   config       configure gopm settings
   run          link dependencies and go run
   test         link dependencies and go test
   build        link dependencies and go build
   install      link dependencies and go install
   clean        clean all temporary files
   update       check and update gopm resources including itself
   help, h      Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --noterm, -n         disable color output
   --strict, -s         strict mode
   --debug, -d          debug mode
   --help, -h           show help
   --version, -v        print the version

exmaple

gopm get -g -v -u golang.org/x/tools/cmd/goimports
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 177,342评论 25 709
  • 1、通过CocoaPods安装项目名称项目信息 AFNetworking网络请求组件 FMDB本地数据库组件 SD...
    阳明AI阅读 16,112评论 3 119
  • 学习 谢谢点赞
    无疾道人阅读 1,859评论 0 1
  • 靠谱的人让我心里踏实,有品德的人让我变得更加善良,在乎我的人让我永远不会孤单。感恩一路有你们陪伴![拥抱][太阳]...
    黄象征阅读 2,548评论 0 1
  • 每天都看朋友圈,发朋友圈。我必须承认朋友圈就是我的一个精神寄托。我爱做的事,不爱做的事,小哥成长有趣的,有纪念意义...
    岩不闲阅读 2,490评论 0 1

友情链接更多精彩内容