// Destroy - delete session from DB func (user *User) Destroy() error { if _, err := orm.Delete(user); err != nil { return err } return nil }
// Destroy - delete session from DB func (session *Session) Destroy() error { if _, err := orm.Delete(session); err != nil { return err } return nil }