dao

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Zlib Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	Sql   db.SqlDatabase
	Redis redis.Client
}

Dao https://gorm.io/docs/query.html

func (*Dao) Condition

func (d *Dao) Condition(dbname string, data interface{}, call db.ConditionCallback) result.Result

func (*Dao) IsNotFound

func (d *Dao) IsNotFound(db *gorm.DB) int

Directories

Path Synopsis
*
*

Jump to

Keyboard shortcuts

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