make oauth as a service

This commit is contained in:
Kenta420-Poom 2023-09-21 14:21:14 +07:00
parent da4110a47b
commit dbc741ccf6
5 changed files with 160 additions and 97 deletions

7
server/models/user.go Normal file
View file

@ -0,0 +1,7 @@
package models
type User struct {
Name string `json:"name"`
Email string `json:"email"`
Picture string `json:"picture"`
}