service

package
Version: v1.0.1-0...-754ee47 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DigModuleCarouselProviderAll = []interface{}{
	dao.NewCarouseDao,
	NewCarouselModule,
}

Functions

This section is empty.

Types

type CarouselModule

type CarouselModule struct {
	Dao *dao.CarouselDao
	// contains filtered or unexported fields
}

func NewCarouselModule

func NewCarouselModule(dao *dao.CarouselDao, log *nlog.NLog) *CarouselModule

func (*CarouselModule) CreateCarousel

func (c *CarouselModule) CreateCarousel(ctx context.Context, item *model.CreateCarouselModel) error

func (*CarouselModule) DeleteCarouselById

func (c *CarouselModule) DeleteCarouselById(ctx context.Context, id string) error

func (*CarouselModule) GetCarouselById

func (c *CarouselModule) GetCarouselById(ctx context.Context, id string) (model *model.Carousel, err error)

func (*CarouselModule) QueryCarousel

func (c *CarouselModule) QueryCarousel(ctx context.Context, isOnShow *bool) (list []*model.Carousel, err error)

func (*CarouselModule) UpdateCarousel

func (c *CarouselModule) UpdateCarousel(ctx context.Context, item *model.UpdateCarouselModel) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL