dao

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

DB ..

Functions

func InitConfig

func InitConfig(filepath string) error

InitConfig ..

func InitDB

func InitDB(dsn string) error

InitDB ..

Types

type Config

type Config struct {
	Debug bool
	DBDSN string
}

Config ..

var Conf *Config

Conf ..

type FindIDResp

type FindIDResp struct {
	ID int64
}

FindIDResp ..

Jump to

Keyboard shortcuts

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