feat: publish standalone worker
Separate worker packaging and service lifecycle from the control plane.
Этот коммит содержится в:
14
app/models/concerns/model.go
Обычный файл
14
app/models/concerns/model.go
Обычный файл
@@ -0,0 +1,14 @@
|
||||
// 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"`
|
||||
}
|
||||
Ссылка в новой задаче
Block a user