common

package
v0.0.0-...-0a466a3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func GetDir

func GetDir() string

GetDir 获取路径

Types

type ConfigInitialize

type ConfigInitialize struct {
}

func (ConfigInitialize) InitConfig

func (c ConfigInitialize) InitConfig()

type Database

type Database struct{}

func (Database) GetDB

func (d Database) GetDB() *gorm.DB

func (Database) InitDatabase

func (d Database) InitDatabase()

type LogInitialize

type LogInitialize struct {
}

func (LogInitialize) InitLog

func (l LogInitialize) InitLog()

Jump to

Keyboard shortcuts

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