File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,21 +23,21 @@ type NegatedBoolValue struct {
23
23
value * bool
24
24
}
25
25
26
- func (b * NegatedBoolValue ) Set (s string ) error {
27
- v , err := strconv .ParseBool (s )
28
- * b .value = ! v
26
+ func (v * NegatedBoolValue ) Set (s string ) error {
27
+ b , err := strconv .ParseBool (s )
28
+ * v .value = ! b
29
29
return err
30
30
}
31
31
32
- func (b * NegatedBoolValue ) Get () interface {} {
33
- return ! * b .value
32
+ func (v * NegatedBoolValue ) Get () interface {} {
33
+ return ! * v .value
34
34
}
35
35
36
- func (b * NegatedBoolValue ) String () string {
37
- if b == nil || b .value == nil {
36
+ func (v * NegatedBoolValue ) String () string {
37
+ if v == nil || v .value == nil {
38
38
return "true"
39
39
} else {
40
- return strconv .FormatBool (! * b .value )
40
+ return strconv .FormatBool (! * v .value )
41
41
}
42
42
}
43
43
You can’t perform that action at this time.
0 commit comments