chore: init repository

This commit is contained in:
2022-10-06 15:37:28 +02:00
commit 833851f695
38 changed files with 2302 additions and 0 deletions

17
internal/user/model.go Executable file
View File

@@ -0,0 +1,17 @@
package user
import (
"time"
)
type User struct {
UserEditable
ID string `json:"id"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
GoogleID string `json:"-"`
}
type UserEditable struct {
Email string `json:"email" validate:"required"`
}