dao

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 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 Base

type Base struct {
	OnFieldChange func(field string)

	Save   func() bool
	Delete func() bool
}

type Pagination

type Pagination struct {
	Daos                     []any
	Total, Current, PageSize int64
}

func (*Pagination) SetCount

func (p *Pagination) SetCount(total, current, pageSize int64)

func (*Pagination) SetDao

func (p *Pagination) SetDao(pf []any)

type SaveDel

type SaveDel interface {
	Save() bool
	Delete() bool
	GetObj() mdb.MField
}

Jump to

Keyboard shortcuts

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