package models import ( "database/sql" "time" ) type ElectionModelInterface interface { Insert(name string, tokens int, areVotersKnown bool, maxVoters int, Choices []string, ExpiresAt time.Time) (int, error) } type ElectionModel struct { DB *sql.DB } func (e *ElectionModel) Insert(name string, tokens int, areVotersKnown bool, maxVoters int, Choices []string, ExpiresAt time.Time) (int, error) { //TODO implement me panic("implement me") }