po

package
v0.0.0-...-7206171 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateM

func UpdateM(t interface{}) bson.M

Types

type AbstractMgoPO

type AbstractMgoPO struct {
	ID         bson.ObjectId `bson:"_id,omitempty"`
	CreateTime string        `bson:"create_time"`
	UpdateTime string        `bson:"update_time"`
	Delete     bool          `bson:"is_delete"` // 是否删除
}

func (AbstractMgoPO) Db

func (o AbstractMgoPO) Db() string

func (AbstractMgoPO) Table

func (o AbstractMgoPO) Table() string

type AbstractMysqlPO

type AbstractMysqlPO struct {
}

type PO

type PO interface {
	Db() string
	Table() string
}

Jump to

Keyboard shortcuts

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