Documentation ¶
Index ¶
- type IYamlService
- type YamlService
- func (yaml *YamlService) AddYaml(modYaml *models.Yaml) bool
- func (yaml *YamlService) DeleteYaml(id uint) bool
- func (yaml *YamlService) GetYaml(id uint) *models.Yaml
- func (yaml *YamlService) GetYamls(page, pagesize uint, maps interface{}) interface{}
- func (yaml *YamlService) UpdateYaml(modYaml *models.Yaml) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IYamlService ¶
type YamlService ¶
type YamlService struct {
Repository yamlRep.IYamlRepository `inject:""`
}
func (*YamlService) DeleteYaml ¶
func (yaml *YamlService) DeleteYaml(id uint) bool
func (*YamlService) GetYamls ¶
func (yaml *YamlService) GetYamls(page, pagesize uint, maps interface{}) interface{}
func (*YamlService) UpdateYaml ¶
func (yaml *YamlService) UpdateYaml(modYaml *models.Yaml) bool
Click to show internal directories.
Click to hide internal directories.