orm

package
v0.0.0-...-a8ae660 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Conf = new(Config)
)

Functions

func GetCommon

func GetCommon(file string) error

func GetSQL

func GetSQL(mysqldumpPATH, table string) *snake.SnakeString

func GetTables

func GetTables() ([]string, error)

func ImportSQL

func ImportSQL(mysqlPATH, database, user, pass, charset, file string) error

Types

type Config

type Config struct {
	User     string
	Pass     string
	Host     string
	Port     string
	Database string
	Charset  string
}

Jump to

Keyboard shortcuts

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