database

package
v0.3.34 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(config *Database)

Types

type Database

type Database struct {
	Username string
	Password string
	Host     string
	Port     string
	Database string
	Charset  string
	Settings *gorm.Config
}

func Get

func Get() *Database

Jump to

Keyboard shortcuts

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