(threshold *Threshold, value Threshold)
| 292 | } |
| 293 | |
| 294 | func NewThresholdFlagValue(threshold *Threshold, value Threshold) pflag.Value { |
| 295 | return &thresholdFlagValue{false, threshold, value} |
| 296 | } |
| 297 | |
| 298 | func (v *thresholdFlagValue) String() string { |
| 299 | return strconv.FormatBool(v.b) |
no outgoing calls
no test coverage detected