remove unused func (wrong signature)

This commit is contained in:
Paul Tyng
2022-10-31 15:53:41 -04:00
parent 49ed8b85a7
commit 71e11b19f0

View File

@@ -88,10 +88,3 @@ func (e *booleanishString) UnmarshalJSON(b []byte) error {
} }
return errors.New("Could not unmarshal JSON value.") return errors.New("Could not unmarshal JSON value.")
} }
func (e *booleanishString) MarshalJSON(b []byte) ([]byte, error) {
if *e {
return []byte(`"enabled"`), nil
}
return []byte(`"disabled"`), nil
}