Registry / http-client / gogits-go-gogs-client

gogits-go-gogs-client

JSON →
library0.0.0-20210131175652-1d7215cd8d85gogounverified

A Go client library for interacting with the Gogs (Go Git Service) API.

go get github.com/gogits/go-gogs-client
INSTALL
IMPORT
SIG · GOGITS-GO-GOGS-CLI
G
gogits-go-gogs-client
http-clientgov0.0.0-20210131175652-1d7215cd8d85
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gogs
github.com/gogits/go-gogs-client

Create a Gogs client and fetch user info.

package main import ( "fmt" "github.com/gogits/go-gogs-client" ) func main() { c := gogs.NewClient("https://try.gogs.io", "your-token") user, _ := c.GetUserInfo("someuser") fmt.Println(user.FullName) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20210131175652-1d7215cd8d85latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
gogits-go-gogs-client — go get gogits-go-gogs-client · libregistry