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

Function newStringToInt64Value

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

Source from the content-addressed store, hash-verified

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

Callers 4

StringToInt64VarMethod · 0.85
StringToInt64VarPMethod · 0.85
StringToInt64VarFunction · 0.85
StringToInt64VarPFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected