config

package
v0.0.0-...-5376163 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConstConnectionString = "root:root@tcp(127.0.0.1:3306)/local?charset=utf8&parseTime=True"
	ConstAlias            = "default"
	ConstDriver           = "mysql"
)

“user:password@tcp(Hostname:Port)/dbname?charset=utf8&parseTime=True&loc=Local”

Variables

This section is empty.

Functions

func Connect

func Connect()

register orm to the connected database of which the connection string in given

Types

This section is empty.

Jump to

Keyboard shortcuts

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