dao

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: Apache-2.0 Imports: 1 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 interface {
	Create(obj interface{}, params map[string]string) error
	Get(cols map[string]string) (interface{}, error)
	GetByPrimaryKey(id string) (interface{}, error)
	GetList(cols map[string]string) (interface{}, error)
	GetListByStatusSets(status sets.String) (interface{}, error)
	Update(obj interface{}, cols ...string) error
	UpdateStatusMsg(obj interface{}, status, msg string) error
	Delete(obj interface{}) error
}

Dao layer interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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