NewAuthRepo new repository
(data *data.Data)
| 40 | |
| 41 | // NewAuthRepo new repository |
| 42 | func NewAuthRepo(data *data.Data) auth.AuthRepo { |
| 43 | return &authRepo{ |
| 44 | data: data, |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | // GetUserCacheInfo get user cache info |
| 49 | func (ar *authRepo) GetUserCacheInfo(ctx context.Context, accessToken string) (userInfo *entity.UserCacheInfo, err error) { |
no outgoing calls