Registry / networking / drone-go-scm

drone-go-scm

JSON →
library1.39.1gogounverified

Package go-scm provides a unified interface for interacting with source code management systems like GitHub, GitLab, and Bitbucket.

go get github.com/drone/go-scm
INSTALL
IMPORT
SIG · DRONE-GO-SCM
D
drone-go-scm
networkinggov1.39.1
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.

scm
github.com/drone/go-scm

Create a new SCM client and fetch the current user

package main import ( "context" "fmt" "github.com/drone/go-scm/scm" ) func main() { client := scm.NewClient("github") ctx := context.Background() user, _, _ := client.Users.Find(ctx) fmt.Println(user.Login) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.39.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
drone-go-scm — go get drone-go-scm · libregistry