get

package
v0.0.0-...-1f4ee57 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDB

func GetDB() *gorm.DB

Types

type Config

type Config struct {
	Hoper inject_dao.DatabaseConfig
}

func (*Config) Init

func (*Config) Init()

type Dao

type Dao struct {
	Hoper *gorm.DB `config:"database"`
}

func (*Dao) Close

func (*Dao) Close()

func (*Dao) Init

func (*Dao) Init()

Jump to

Keyboard shortcuts

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