Go to file
徐晓伟 454998ed67 🐛 上传文件返回数据格式
https://www.gitlink.org.cn/Gitlink/forgeplus/issues/3966
2023-12-25 09:05:35 +08:00
CHANGELOG 🐛 上传文件返回数据格式 2023-12-25 09:05:35 +08:00
static 🔖 项目列表、上传文件、v0.0.1 2023-11-27 16:35:38 +08:00
.gitignore 🎉 init 2023-11-27 14:52:04 +08:00
.gitlab-ci.yml 🔖 项目列表、上传文件、v0.0.1 2023-11-27 16:35:38 +08:00
LICENSE 🔖 项目列表、上传文件、v0.0.1 2023-11-27 16:35:38 +08:00
README.md 断言测试结果 2023-12-03 16:56:36 +08:00
attachments.go 🐛 上传文件返回数据格式 2023-12-25 09:05:35 +08:00
attachments_test.go 🐛 上传文件返回数据格式 2023-12-25 09:05:35 +08:00
gitlink.go 🐛 修正重试功能:使用默认配置 2023-12-01 15:56:35 +08:00
gitmoji.md 🎉 init 2023-11-27 14:52:04 +08:00
go.mod 断言测试结果 2023-12-03 16:56:36 +08:00
go.sum 断言测试结果 2023-12-03 16:56:36 +08:00
projects.go 🐛 📝 简化测试类,补充文档 2023-11-29 09:30:29 +08:00
projects_test.go 断言测试结果 2023-12-03 16:56:36 +08:00
releases.go 🐛 修改 创建发行版 接口参数类型 2023-11-29 11:44:40 +08:00
releases_test.go 断言测试结果 2023-12-03 16:56:36 +08:00
structs.go 获取仓库标签列表 2023-11-27 20:54:35 +08:00
sync.yml 👷 删除极狐,使用framagit 2023-12-20 12:42:03 +08:00
tag.go 🐛 📝 简化测试类,补充文档 2023-11-29 09:30:29 +08:00
tag_test.go 断言测试结果 2023-12-03 16:56:36 +08:00

README.md

go-gitlink

基于 go 语言的 gitlink SDK

License-Anti Link-996 QQ群

基于 go 语言的 gitlink SDK

为简化开发工作、提高生产率、解决常见问题而生

更新文档

使用方式

  1. 获取依赖
    # 请使用 v2 版本的依赖
    go get -u github.com/xuxiaowei-com-cn/go-gitlink/v2
    
  2. 具体示例请查看对应的测试方法

开发命令

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