Documentation ¶
Index ¶
- type IYamlRepository
- type YamlRepository
- func (yaml *YamlRepository) AddYaml(modYaml *models.Yaml) bool
- func (yaml *YamlRepository) DeleteYaml(id uint) bool
- func (yaml *YamlRepository) ExistYamlByName(where interface{}) bool
- func (yaml *YamlRepository) GetYaml(where interface{}) *models.Yaml
- func (yaml *YamlRepository) GetYamls(PageNum uint, PageSize uint, total *uint64, where interface{}) *[]models.Yaml
- func (yaml *YamlRepository) UpdateYaml(modYaml *models.Yaml) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IYamlRepository ¶
type YamlRepository ¶
type YamlRepository struct { Log logger.ILogger `inject:""` Base baseRep.BaseRepository `inject:"inline"` Source datasource.IDb `inject:""` }
func (*YamlRepository) DeleteYaml ¶
func (yaml *YamlRepository) DeleteYaml(id uint) bool
func (*YamlRepository) ExistYamlByName ¶
func (yaml *YamlRepository) ExistYamlByName(where interface{}) bool
func (*YamlRepository) GetYaml ¶
func (yaml *YamlRepository) GetYaml(where interface{}) *models.Yaml
func (*YamlRepository) UpdateYaml ¶
func (yaml *YamlRepository) UpdateYaml(modYaml *models.Yaml) bool
Click to show internal directories.
Click to hide internal directories.