package domain import ( "errors" "time" "github.com/google/uuid" ) type User struct { ID uuid.UUID `json:"id"` Email string `json:"email"` Name string `json:"name"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` } var ( ErrUserNotFound = errors.New("user not found") ErrEmailTaken = errors.New("email already in use") )