Closed br0xen closed 7 years ago
The db models could probably be cleaned up a bit. For example, instead of having a function called: func dbUpdateTeam(id string, tm *Team) we should just have a: func (tm *Team) UpdateTeam() That saves the current values in tm to the database.
func dbUpdateTeam(id string, tm *Team)
func (tm *Team) UpdateTeam()
tm
The db models could probably be cleaned up a bit. For example, instead of having a function called:
func dbUpdateTeam(id string, tm *Team)
we should just have a:func (tm *Team) UpdateTeam()
That saves the current values intm
to the database.