database

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	*gorm.DB
}

func New

func New() *DB

func (*DB) Init

func (d *DB) Init() error

func (*DB) SearchIDs

func (d *DB) SearchIDs(table, keyword string) ([]int64, error)

func (*DB) Tables

func (d *DB) Tables() ([]string, error)

Jump to

Keyboard shortcuts

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