Source File
settings.go
Belonging Package
github.com/limanmys/render-engine/app/models
package modelsimport ()// Settings structure of Settings objecttype Settings struct {ID string `json:"id"`ServerID string `json:"server_id"`UserID string `json:"user_id"`Name string `json:"name"`Value string `json:"value"`CreatedAt string `json:"created_at"`UpdatedAt string `json:"updated_at"`}func (Settings) () string {return "user_settings"}func ( *Settings) ( *gorm.DB) error {.ID = uuid.NewString().CreatedAt = time.Now().Format(time.RFC3339).UpdatedAt = time.Now().Format(time.RFC3339)return nil}
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |