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

Function main

example/topics/main.go:30–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func main() {
31 var topic string
32 fmt.Print("Enter GitHub topic: ")
33 fmt.Scanf("%s", &topic)
34
35 topics, err := fetchTopics(topic)
36 if err != nil {
37 log.Fatalf("Error: %v", err)
38 }
39
40 for _, topic := range topics.Topics {
41 fmt.Println(*topic.Name)
42 }
43}

Callers

nothing calls this directly

Calls 1

fetchTopicsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…