Make EventDataRoundState use json:"-" instead of Getter/Setter

This commit is contained in:
Jae Kwon
2016-01-14 11:07:31 -08:00
parent 8e776a252b
commit f100404362
4 changed files with 20 additions and 28 deletions
+1 -9
View File
@@ -81,15 +81,7 @@ type EventDataRoundState struct {
Step string `json:"step"`
// private, not exposed to websockets
rs interface{}
}
func (edrs *EventDataRoundState) RoundState() interface{} {
return edrs.rs
}
func (edrs *EventDataRoundState) SetRoundState(rs interface{}) {
edrs.rs = rs
RoundState interface{} `json:"-"`
}
type EventDataVote struct {