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

Function setUpI64SFlagSet

int64_slice_test.go:14–18  ·  view source on GitHub ↗
(isp *[]int64)

Source from the content-addressed store, hash-verified

12)
13
14func setUpI64SFlagSet(isp *[]int64) *FlagSet {
15 f := NewFlagSet("test", ContinueOnError)
16 f.Int64SliceVar(isp, "is", []int64{}, "Command separated list!")
17 return f
18}
19
20func setUpI64SFlagSetWithDefault(isp *[]int64) *FlagSet {
21 f := NewFlagSet("test", ContinueOnError)

Callers 4

TestEmptyI64SFunction · 0.85
TestI64SFunction · 0.85
TestI64SAsSliceValueFunction · 0.85
TestI64SCalledTwiceFunction · 0.85

Calls 2

Int64SliceVarMethod · 0.95
NewFlagSetFunction · 0.85

Tested by

no test coverage detected