Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { // ID defines the unique identifier. ID int `gorm:"primaryKey" json:"id" filter:"filterable"` // Name defines the unique name of the module. Name string `gorm:"uniqueIndex;not null" filter:"searchable;filterable"` // Type defines the type of the module. Type TypeModule `gorm:"not null" json:"type" filter:"filterable"` // Config defines the configuration of the module. // It is a JSON object that contains the configuration of the module. Config []byte // Audit fields trackable.CreatedBy CreatedAt time.Time `gorm:"autoCreateTime"` trackable.UpdatedBy UpdatedAt time.Time `gorm:"autoUpdateTime"` }
type TypeModule ¶
type TypeModule string
const ( // UndefinedType represents an undefined module type UndefinedType TypeModule = "undefined" // GitType represents a git module type GitType TypeModule = "git" )
Click to show internal directories.
Click to hide internal directories.