exchange-api

module
v0.3.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2021 License: MIT

README

exchange-api

使用方法

examples

私有权限的仓库导入方法
  • https://github.com/settings/tokens生成一个token
  • mac或linux系统编辑$HOME/.netrc, 新增下面一行, 替换USERNAMEAPIKEY
    machine github.com login USERNAME password APIKEY
    

参考 https://golang.ir/doc/faq#git_https

注意

如果使用了goproxy, goproxy有的不支持下载私有仓库, 如果go get失败就先取消goproxy, 下载私有库成功后再打开goproxy

如果go>=1.13, 可直接如下设置

go env -w GOPROXY=https://goproxy.cn,direct
go env -w GOSUMDB=off

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL