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

Method Uint64VarP

uint64.go:49–51  ·  view source on GitHub ↗

Uint64VarP is like Uint64Var, but accepts a shorthand letter that can be used after a single dash.

(p *uint64, name, shorthand string, value uint64, usage string)

Source from the content-addressed store, hash-verified

47
48// Uint64VarP is like Uint64Var, but accepts a shorthand letter that can be used after a single dash.
49func (f *FlagSet) Uint64VarP(p *uint64, name, shorthand string, value uint64, usage string) {
50 f.VarP(newUint64Value(value, p), name, shorthand, usage)
51}
52
53// Uint64Var defines a uint64 flag with specified name, default value, and usage string.
54// The argument p points to a uint64 variable in which to store the value of the flag.

Callers 2

Uint64Method · 0.95
Uint64PMethod · 0.95

Calls 2

VarPMethod · 0.95
newUint64ValueFunction · 0.85

Tested by

no test coverage detected