UintSliceVar defines a uintSlice flag with specified name, default value, and usage string. The argument p points to a []uint variable in which to store the value of the flag.
(p *[]uint, name string, value []uint, usage string)
| 122 | // UintSliceVar defines a uintSlice flag with specified name, default value, and usage string. |
| 123 | // The argument p points to a []uint variable in which to store the value of the flag. |
| 124 | func (f *FlagSet) UintSliceVar(p *[]uint, name string, value []uint, usage string) { |
| 125 | f.VarP(newUintSliceValue(value, p), name, "", usage) |
| 126 | } |
| 127 | |
| 128 | // UintSliceVarP is like UintSliceVar, but accepts a shorthand letter that can be used after a single dash. |
| 129 | func (f *FlagSet) UintSliceVarP(p *[]uint, name, shorthand string, value []uint, usage string) { |