MCPcopy Index your code
hub / github.com/golang/example / usage

Function usage

hello/hello.go:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31)
32
33func usage() {
34 fmt.Fprintf(os.Stderr, "usage: hello [options] [name]\n")
35 flag.PrintDefaults()
36 os.Exit(2)
37}
38
39var (
40 greeting = flag.String("g", "Hello", "Greet with `greeting`")

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…