MCPcopy
hub / github.com/kubernetes/client-go / newInt

Function newInt

util/jsonpath/node.go:182–184  ·  view source on GitHub ↗
(num int)

Source from the content-addressed store, hash-verified

180}
181
182func newInt(num int) *IntNode {
183 return &IntNode{NodeType: NodeInt, Value: num}
184}
185
186func (i *IntNode) String() string {
187 return fmt.Sprintf("%s: %d", i.Type(), i.Value)

Callers 2

parser_test.goFile · 0.85
parseNumberMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected