package models import "time" type ActionType string const ( ActionTypePlus ActionType = "ActionTypePlus" ActionTypeMinus ActionType = "ActionTypeMinus" ) type ( UserScore struct { ID string Actions []Action BurnTime time.Time Score int8 } Action struct { Name string Magnitude uint8 Repeatable bool Type ActionType Done bool } )