package dao import "blog/internal/model" func (d *Dao) GetAuth(appKey, appSecret string) (model.Auth, error) { auth := model.Auth{AppKey: appKey, AppSecret: appSecret} return auth.Get(d.engine) }