MCPcopy Index your code
hub / github.com/coredns/coredns / formatNilableInt

Function formatNilableInt

plugin/https3/setup_test.go:139–144  ·  view source on GitHub ↗
(v *int)

Source from the content-addressed store, hash-verified

137}
138
139func formatNilableInt(v *int) string {
140 if v == nil {
141 return "nil"
142 }
143 return fmt.Sprintf("%d", *v)
144}

Callers 1

assertIntPtrValueFunction · 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…