model

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

quickmodel

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB
View Source
var DBConfig = Database{}

Functions

func Capitalize

func Capitalize(str string) string

func CreateModel

func CreateModel() error

func LoadFile

func LoadFile(path string) bool

Types

type Database

type Database struct {
	Host     string `ini:"host"`
	User     string `ini:"user"`
	Password string `ini:"password"`
	DbName   string `ini:"dbname"`
}

Jump to

Keyboard shortcuts

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