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

Function newUint32Value

uint32.go:8–11  ·  view source on GitHub ↗
(val uint32, p *uint32)

Source from the content-addressed store, hash-verified

6type uint32Value uint32
7
8func newUint32Value(val uint32, p *uint32) *uint32Value {
9 *p = val
10 return (*uint32Value)(p)
11}
12
13func (i *uint32Value) Set(s string) error {
14 v, err := strconv.ParseUint(s, 0, 32)

Callers 4

Uint32VarMethod · 0.85
Uint32VarPMethod · 0.85
Uint32VarFunction · 0.85
Uint32VarPFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected