徐晓伟
454998ed67
https://www.gitlink.org.cn/Gitlink/forgeplus/issues/3966 |
||
---|---|---|
CHANGELOG | ||
static | ||
.gitignore | ||
.gitlab-ci.yml | ||
LICENSE | ||
README.md | ||
attachments.go | ||
attachments_test.go | ||
gitlink.go | ||
gitmoji.md | ||
go.mod | ||
go.sum | ||
projects.go | ||
projects_test.go | ||
releases.go | ||
releases_test.go | ||
structs.go | ||
sync.yml | ||
tag.go | ||
tag_test.go |
README.md
基于 go 语言的 gitlink SDK
为简化开发工作、提高生产率、解决常见问题而生
更新文档
使用方式
- 获取依赖
# 请使用 v2 版本的依赖 go get -u github.com/xuxiaowei-com-cn/go-gitlink/v2
- 具体示例请查看对应的测试方法
开发命令
get
go env -w GOPROXY=https://goproxy.cn,direct
# go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
go get -u github.com/google/go-querystring
go get -u github.com/hashicorp/go-cleanhttp
go get -u github.com/hashicorp/go-retryablehttp
go get -u github.com/stretchr/testify
mod
go mod tidy
go mod download
test
go test ./... -v