Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wangle201210/githubapi
githubapi with go
https://github.com/wangle201210/githubapi
github-api githubapi go
Last synced: 22 days ago
JSON representation
githubapi with go
- Host: GitHub
- URL: https://github.com/wangle201210/githubapi
- Owner: wangle201210
- Created: 2020-08-02T18:28:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-14T11:55:14.000Z (over 4 years ago)
- Last Synced: 2024-06-21T16:48:25.720Z (6 months ago)
- Topics: github-api, githubapi, go
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHubAPI
[GitHub API v3](http://developer.github.com/v3/)
```
import "github.com/wangle201210/githubapi/repos"
...
var pkg = repos.Pkg{"beego", "bee"}// 获取仓库信息
re, err := pkg.GetRepos()// 获取tags
list, err := pkg.GetTagsList()// 获取最新tag
tag, err := pkg.LastTag()// 获取pull
list, err := pkg.GetPullsList()// 获取comment
comment, err := repos.GetCommentsList()// 获取全部issues
issues, err := repos.GetIssuesList()...
```