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

Function requireIntFlag

example/auditlogstream/main.go:181–185  ·  view source on GitHub ↗
(name string, val int64)

Source from the content-addressed store, hash-verified

179}
180
181func requireIntFlag(name string, val int64) {
182 if val == 0 {
183 log.Fatalf("flag -%v is required", name)
184 }
185}

Callers 1

runDeleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…