Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(db *gorm.DB) repository_intf.EnvarRepository
Types ¶
type EnvarModel ¶
type EnvarModel struct { Id int `gorm:"column:id"` Project string `gorm:"column:project"` Env string `gorm:"column:env"` Name string `gorm:"column:name"` Variables []byte `gorm:"column:variables"` CreatedBy int `gorm:"column:created_by"` CreatedAt *time.Time `gorm:"column:created_at"` UpdatedAt *time.Time `gorm:"column:updated_at"` }
func (EnvarModel) FromEnvarEntity ¶
func (EnvarModel) FromEnvarEntity(e entity.Envar) *EnvarModel
func (*EnvarModel) ToEnvarEntity ¶
func (em *EnvarModel) ToEnvarEntity() *entity.Envar
Click to show internal directories.
Click to hide internal directories.