Float32SliceVar defines a float32[] flag with specified name, default value, and usage string. The argument p points to a float32[] variable in which to store the value of the flag.
(p *[]float32, name string, value []float32, usage string)
| 139 | // Float32SliceVar defines a float32[] flag with specified name, default value, and usage string. |
| 140 | // The argument p points to a float32[] variable in which to store the value of the flag. |
| 141 | func Float32SliceVar(p *[]float32, name string, value []float32, usage string) { |
| 142 | CommandLine.VarP(newFloat32SliceValue(value, p), name, "", usage) |
| 143 | } |
| 144 | |
| 145 | // Float32SliceVarP is like Float32SliceVar, but accepts a shorthand letter that can be used after a single dash. |
| 146 | func Float32SliceVarP(p *[]float32, name, shorthand string, value []float32, usage string) { |
nothing calls this directly
no test coverage detected