You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
285 B
Go

package model
type ComposeTemplate struct {
BaseModel
Name string `gorm:"not null;unique" json:"name"`
Description string `json:"description"`
Content string `json:"content"`
}
type Compose struct {
BaseModel
Name string `json:"name"`
Path string `json:"path"`
}