biz

package
v0.0.0-...-ab1a5e7 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 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 Dictionary

type Dictionary struct {
	Trans         *util.Trans
	DictionaryDAL *dal.Dictionary
}

Dictionaries management

func (*Dictionary) Create

func (a *Dictionary) Create(ctx context.Context, formItem *schema.DictionaryForm) (*schema.Dictionary, error)

Create a new dictionary in the data access object.

func (*Dictionary) Delete

func (a *Dictionary) Delete(ctx context.Context, id string) error

Delete the specified dictionary from the data access object.

func (*Dictionary) Get

func (a *Dictionary) Get(ctx context.Context, id string) (*schema.Dictionary, error)

Get the specified dictionary from the data access object.

func (*Dictionary) Query

Query dictionaries from the data access object based on the provided parameters and options.

func (*Dictionary) Update

func (a *Dictionary) Update(ctx context.Context, id string, formItem *schema.DictionaryForm) error

Update the specified dictionary in the data access object.

type Logger

type Logger struct {
	LoggerDAL *dal.Logger
}

Logger management

func (*Logger) Query

Query loggers from the data access object based on the provided parameters and options.

Jump to

Keyboard shortcuts

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