database

package
v0.0.0-...-5b0d633 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2019 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgsString

func ArgsString(host, user, password, name, timezone string) string

ArgsString returns a string contains connection information

func Connect

func Connect(dialect, args string) (*gorm.DB, error)

Connect returns a database instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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