Still missing a UI and we do not have session management just yet, but the workflow of calling the Google API's and creating/finding users is working with the current structure.
7 lines
188 B
Go
7 lines
188 B
Go
package domain
|
|
|
|
type UserRepository interface {
|
|
CreateGoogleUser(googleUserInfo *GoogleUserInfo, googleRefreshToken string) (User, error)
|
|
GetGoogleUser(googleId string) (*User, error)
|
|
}
|