ch

package
v0.0.0-...-e3cb19e Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLimitOffset

func BuildLimitOffset(q string, l, o int) string

func BuildLimitOffsetInt64

func BuildLimitOffsetInt64(q string, l, o int64) string

func Conn

func Conn(host, dbName, user, pass string, port uint16) (*sql.DB, error)

Types

type Conf

type Conf struct {
	Host   string
	Port   uint16
	DBName string `split_words:"true" required:"true"`
	User   string `default:""`
	Pass   string `default:""`
}

Jump to

Keyboard shortcuts

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