package models import "time" type ( ScoreChanger interface { ChangeScore() error } UserScore struct { ID string Acts []ScoreChanger BurnTime time.Time Score int8 } // plus 1 PlusAction struct { Name string Repeatable bool } // minus x // always repeatable MinusAction struct { Name string Magnitude uint8 } )