conf

package
v0.0.0-...-a5c3942 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseConf

type DatabaseConf struct {
	// mysql
	DriverName string `json:"driverName"`

	// format "username:password@(ip:port)/database?charset=utf8&parseTime=True&loc=Local"
	DataSourceName string `json:"dataSourceName"`

	LogMode bool `json:"logMode"`
}

DatabaseConf

func Database

func Database() *DatabaseConf

Database

Jump to

Keyboard shortcuts

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