StringToInt64Var defines a string flag with specified name, default value, and usage string. The argument p point64s to a map[string]int64 variable in which to store the values of the multiple flags. The value of each argument will not try to be separated by comma
(p *map[string]int64, name string, value map[string]int64, usage string)
| 100 | // The argument p point64s to a map[string]int64 variable in which to store the values of the multiple flags. |
| 101 | // The value of each argument will not try to be separated by comma |
| 102 | func (f *FlagSet) StringToInt64Var(p *map[string]int64, name string, value map[string]int64, usage string) { |
| 103 | f.VarP(newStringToInt64Value(value, p), name, "", usage) |
| 104 | } |
| 105 | |
| 106 | // StringToInt64VarP is like StringToInt64Var, but accepts a shorthand letter that can be used after a single dash. |
| 107 | func (f *FlagSet) StringToInt64VarP(p *map[string]int64, name, shorthand string, value map[string]int64, usage string) { |