MCPcopy
hub / github.com/spf13/pflag / newStringToIntValue

Function newStringToIntValue

string_to_int.go:16–21  ·  view source on GitHub ↗
(val map[string]int, p *map[string]int)

Source from the content-addressed store, hash-verified

14}
15
16func newStringToIntValue(val map[string]int, p *map[string]int) *stringToIntValue {
17 ssv := new(stringToIntValue)
18 ssv.value = p
19 *ssv.value = val
20 return ssv
21}
22
23// Format: a=1,b=2
24func (s *stringToIntValue) Set(val string) error {

Callers 4

StringToIntVarMethod · 0.85
StringToIntVarPMethod · 0.85
StringToIntVarFunction · 0.85
StringToIntVarPFunction · 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…