feat: implemented /users/{id} api route
This commit is contained in:
parent
71e2661fb9
commit
948e036e8c
10 changed files with 381 additions and 982 deletions
|
|
@ -11,4 +11,17 @@ sql:
|
|||
sql_package: "pgx/v5"
|
||||
sql_driver: "github.com/jackc/pgx/v5"
|
||||
emit_json_tags: true
|
||||
emit_pointers_for_null_types: true
|
||||
emit_pointers_for_null_types: true
|
||||
overrides:
|
||||
- db_type: "uuid"
|
||||
nullable: false
|
||||
go_type:
|
||||
import: "github.com/gofrs/uuid"
|
||||
package: "gofrsuuid"
|
||||
type: UUID
|
||||
pointer: true
|
||||
- db_type: "timestamptz"
|
||||
nullable: false
|
||||
go_type:
|
||||
import: "time"
|
||||
type: "Time"
|
||||
Loading…
Add table
Add a link
Reference in a new issue