|
|
@ -9,10 +9,11 @@ import (
|
|
|
|
|
|
|
|
|
|
|
|
// boolValue needs to implement the boolFlag internal interface in flag
|
|
|
|
// boolValue needs to implement the boolFlag internal interface in flag
|
|
|
|
// to be able to capture bool fields and values
|
|
|
|
// to be able to capture bool fields and values
|
|
|
|
// type boolFlag interface {
|
|
|
|
//
|
|
|
|
// Value
|
|
|
|
// type boolFlag interface {
|
|
|
|
// IsBoolFlag() bool
|
|
|
|
// Value
|
|
|
|
// }
|
|
|
|
// IsBoolFlag() bool
|
|
|
|
|
|
|
|
// }
|
|
|
|
type boolValue struct {
|
|
|
|
type boolValue struct {
|
|
|
|
destination *bool
|
|
|
|
destination *bool
|
|
|
|
count *int
|
|
|
|
count *int
|
|
|
|