Login
From:
GORM
(Uncensored)
subscribe
Create | GORM - The fantastic ORM library for Golang, aims to be developer friendly.
https://gorm.io/docs/create.html
links
backlinks
Roast topics
Find topics
Find it!
Create RecordGenerics APIuser := User{Name: "Jinzhu", Age: 18, Birthday: time.Now()}// Create a single recordctx := context.Background()err := gorm.G[User](db).Create(ctx, &use