Updated sqlc setup for initial user creation.

This commit is contained in:
2026-04-25 19:37:17 +02:00
parent a8862721cd
commit 8ec981c860
5 changed files with 82 additions and 37 deletions
+8 -3
View File
@@ -4,8 +4,13 @@
package db
import (
"github.com/jackc/pgx/v5/pgtype"
)
type User struct {
ID int64 `json:"id"`
Name string `json:"name"`
Age int32 `json:"age"`
ID int64 `json:"id"`
Email string `json:"email"`
Password string `json:"password"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}