x

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateByGorm

func CreateByGorm()

func CreateByPgx

func CreateByPgx()

func CreateByPgxZ

func CreateByPgxZ()

func GetAllByGorm added in v0.0.8

func GetAllByGorm()

func GetAllByPgx added in v0.0.8

func GetAllByPgx()

func GetAllByPgxZ added in v0.0.8

func GetAllByPgxZ()

func GetOneByGorm

func GetOneByGorm()

func GetOneByPgx

func GetOneByPgx()

func GetOneByPgxZ

func GetOneByPgxZ()

func PageByGorm added in v0.0.9

func PageByGorm()

func PageByPgxZ added in v0.0.9

func PageByPgxZ()

func UpdateByGorm

func UpdateByGorm()

func UpdateByPgx

func UpdateByPgx()

func UpdateByPgxZ

func UpdateByPgxZ()

Types

type PageByGormParams added in v0.0.9

type PageByGormParams struct {
	pagelib.PageParams
	DeptId    int64
	StaffName string
}

type UserPageParams added in v0.0.9

type UserPageParams struct {
	pgxz.PageParams
	DeptId    int64
	StaffName string
}

type UserPageRow added in v0.0.9

type UserPageRow struct {
	No       string   `db:"no"`
	RealName string   `db:"real_name"`
	WorkNo   string   `db:"work_no"`
	DeptName []string `db:"dept_name"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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