MCPcopy Index your code
hub / github.com/google/go-github / main

Function main

example/simple/main.go:29–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func main() {
30 var username string
31 fmt.Print("Enter GitHub username: ")
32 fmt.Scanf("%s", &username)
33
34 organizations, err := fetchOrganizations(username)
35 if err != nil {
36 log.Fatalf("Error: %v", err)
37 }
38
39 for i, organization := range organizations {
40 fmt.Printf("%v. %v\n", i+1, organization.GetLogin())
41 }
42}

Callers

nothing calls this directly

Calls 2

fetchOrganizationsFunction · 0.85
GetLoginMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…