package models type Action struct { ID int64 Description string } func (m *Model) Actions() ([]*Action, error) { return m.SelectActions() }