Files
worker/app/models/concerns/model.go
Gleb Tv 2c7a0236da feat: publish standalone worker
Separate worker packaging and service lifecycle from the control plane.
2026-07-13 17:55:14 +03:00

15 строки
372 B
Go

// Source: https://gorm.io/gorm/blob/master/model.go
// Use 64 bit keys
package concerns
// Model base model definition, including fields `ID`, `CreatedAt`, `UpdatedAt`, `DeletedAt`, which could be embedded in your models
// type User struct {
// gorm.Model
// }
// Model provides functionality.
type Model struct {
ID int64 `gorm:"primarykey" json:"id"`
}