【文件属性】:
文件名称:go-bitbucket:用于Golang的Bitbucket API库
文件大小:34KB
文件格式:ZIP
更新时间:2021-05-15 07:46:46
golang bitbucket bitbucket-api Go
go-bitbucket
用于golang的Bitbucket-API库。
支持Bitbucket API v2.0。
并且响应类型是JSON格式定义的Bitbucket API。
Bitbucket API v2.0
Swagger for API v2.0
安装
go get github.com/ktrysmt/go-bitbucket
用法
package main
import (
"fmt"
"github.com/ktrysmt/go-bitbucket"
)
func main () {
c := bitbucket . NewBasicAuth ( "username" , "password" )
opt := & bitbucket. PullRequestsOptions {
【文件预览】:
go-bitbucket-master
----error.go(378B)
----teams.go(1KB)
----go.mod(709B)
----commits.go(3KB)
----client.go(9KB)
----go.sum(3KB)
----downloads.go(519B)
----repository.go(29KB)
----diff.go(451B)
----pipelines.go(3KB)
----workspaces.go(4KB)
----bitbucket.go(14KB)
----repositories.go(2KB)
----pullrequests.go(7KB)
----LICENSE(11KB)
----README.md(2KB)
----Makefile(707B)
----user.go(1KB)
----branchrestrictions.go(4KB)
----tests()
--------client_test.go(306B)
--------list_test.go(771B)
--------diff_test.go(785B)
--------user_test.go(579B)
--------branchrestrictions_test.go(2KB)
--------README.md(862B)
--------variable_test.go(4KB)
--------repository_test.go(3KB)
--------workspace_test.go(2KB)
--------environment_test.go(2KB)
----webhooks.go(2KB)
----.gitignore(7B)
----users.go(844B)