type uint32Value … // NewUint32Value creates an uint32 instance with the provided value. func NewUint32Value(v uint32) *uint32Value { … } // Set parses a command line uint32 value. // Implements "flag.Value" interface. func (i *uint32Value) Set(s string) error { … } func (i *uint32Value) String() string { … } // Uint32FromFlag return the uint32 value of a flag with the given name func Uint32FromFlag(fs *flag.FlagSet, name string) uint32 { … }