diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-09-24 17:56:38 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-09-24 17:56:38 (GMT) |
commit | cb045546348fb04173d84e7c700f8674fbe1797c (patch) | |
tree | aabafdb0b752a256470b06baaacff6dedc34113e | |
parent | 25a43dce1a7bef23dfce3d922841f7aa501ea9e7 (diff) |
remove errornous marshaller for mood
-rw-r--r-- | src/rhctl/switch_control.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rhctl/switch_control.go b/src/rhctl/switch_control.go index 2533394..235fd95 100644 --- a/src/rhctl/switch_control.go +++ b/src/rhctl/switch_control.go @@ -57,16 +57,6 @@ func (m Mood) MarshalText() (data []byte, err error) { return } -func (m Mood) MarshalJSON() (data []byte, err error) { - data = []byte(m.String()) - return -} - -func (m Mood) MarshalTOML() (data []byte, err error) { - data = []byte(m.String()) - return -} - type State struct { Mood Mood Switch SwitchState |