launch_screen

package
v0.0.0-...-9fb1e4e Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBLaunchScreen

type DBLaunchScreen struct {
	// contains filtered or unexported fields
}

func NewDBLaunchScreen

func NewDBLaunchScreen(client *gorm.DB, sf *utils.Snowflake) *DBLaunchScreen

func (*DBLaunchScreen) AddImageListShowTime

func (c *DBLaunchScreen) AddImageListShowTime(ctx context.Context, pictureList *[]model.Picture) error

func (*DBLaunchScreen) AddPointTime

func (c *DBLaunchScreen) AddPointTime(ctx context.Context, id int64) error

func (*DBLaunchScreen) CreateImage

func (c *DBLaunchScreen) CreateImage(ctx context.Context, pictureModel *model.Picture) (*model.Picture, error)

func (*DBLaunchScreen) DeleteImage

func (c *DBLaunchScreen) DeleteImage(ctx context.Context, id int64) (*model.Picture, error)

func (*DBLaunchScreen) GetImageById

func (c *DBLaunchScreen) GetImageById(ctx context.Context, id int64) (*model.Picture, error)

func (*DBLaunchScreen) GetImageByIdList

func (c *DBLaunchScreen) GetImageByIdList(ctx context.Context, imgIdList *[]int64) (*[]model.Picture, int64, error)

func (*DBLaunchScreen) GetImageBySType

func (c *DBLaunchScreen) GetImageBySType(ctx context.Context, sType int64) (*[]model.Picture, int64, error)

func (*DBLaunchScreen) GetLastImageId

func (c *DBLaunchScreen) GetLastImageId(ctx context.Context) (int64, error)

func (*DBLaunchScreen) UpdateImage

func (c *DBLaunchScreen) UpdateImage(ctx context.Context, pictureModel *model.Picture) (*model.Picture, error)

Jump to

Keyboard shortcuts

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