application

package
v1.93.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

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

func NewApplicationDao

func NewApplicationDao(db *gorm.DB) *Dao

func (*Dao) CreateApplication

func (d *Dao) CreateApplication(ctx context.Context, app model.Application) (*model.Application, error)

func (*Dao) DeleteApplication

func (d *Dao) DeleteApplication(ctx context.Context, id string) (bool, error)

func (*Dao) GetApplications

func (d *Dao) GetApplications(ctx context.Context, p model.PageRequest, sel model.Filer) (*model.ApplicationPage, error)

Jump to

Keyboard shortcuts

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