queries

package
v0.0.0-...-8fa2eeb Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseQuery

type BaseQuery struct {
	// contains filtered or unexported fields
}

func GetQuery

func GetQuery() *BaseQuery

func InitQuery

func InitQuery(db *gorm.DB) *BaseQuery

func (*BaseQuery) GetDB

func (bq *BaseQuery) GetDB() *gorm.DB

type Query

type Query interface {
	GetDB() *gorm.DB
}

Jump to

Keyboard shortcuts

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