- 授权协议: BSD
- 开发语言: Google Go
- 操作系统: 跨平台
- 软件首页: https://github.com/google/go-github
- 软件文档: http://godoc.org/github.com/google/go-github/github
软件介绍
go-github 是 Google 对 Github 的开放 API 进行 Go 语言封装的一个项目。
示例代码:
import "github.com/google/go-github/github"
client := github.NewClient(nil)
orgs, _, err := client.Organizations.List("willnorris", nil)
opt := &github.RepositoryListByOrgOptions{Sort: "updated"}
repos, _, err := client.Repositories.ListByOrg("github", opt)
