yaml

package
v0.0.0-...-89c19b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IYamlService

type IYamlService interface {
	GetYaml(id uint) *models.Yaml

	AddYaml(yaml *models.Yaml) bool

	UpdateYaml(yaml *models.Yaml) bool

	GetYamls(page, pagesize uint, maps interface{}) interface{}

	DeleteYaml(id uint) bool
}

type YamlService

type YamlService struct {
	Repository yamlRep.IYamlRepository `inject:""`
}

func (*YamlService) AddYaml

func (yaml *YamlService) AddYaml(modYaml *models.Yaml) bool

func (*YamlService) DeleteYaml

func (yaml *YamlService) DeleteYaml(id uint) bool

func (*YamlService) GetYaml

func (yaml *YamlService) GetYaml(id uint) *models.Yaml

func (*YamlService) GetYamls

func (yaml *YamlService) GetYamls(page, pagesize uint, maps interface{}) interface{}

func (*YamlService) UpdateYaml

func (yaml *YamlService) UpdateYaml(modYaml *models.Yaml) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL