Uint64 defines a uint64 flag with specified name, default value, and usage string. The return value is the address of a uint64 variable that stores the value of the flag.
(name string, value uint64, usage string)
| 64 | // Uint64 defines a uint64 flag with specified name, default value, and usage string. |
| 65 | // The return value is the address of a uint64 variable that stores the value of the flag. |
| 66 | func (f *FlagSet) Uint64(name string, value uint64, usage string) *uint64 { |
| 67 | p := new(uint64) |
| 68 | f.Uint64VarP(p, name, "", value, usage) |
| 69 | return p |
| 70 | } |
| 71 | |
| 72 | // Uint64P is like Uint64, but accepts a shorthand letter that can be used after a single dash. |
| 73 | func (f *FlagSet) Uint64P(name, shorthand string, value uint64, usage string) *uint64 { |