config

package
Version: v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Driver      string `json:"driver"`
	Path        string `json:"path"`
	PackageName string `json:"package"`
	Namespace   string `json:"namespace"`
	ModelFile   string `json:"modelFile"`
	TagName     string `json:"tagName"`
	MapperFile  string `json:"mapperFile"`
	Plugin      string `json:"plugin"`
	Keyword     bool   `json:"keyword"`
	Register    bool   `json:"register"`
}

type FileConfig

type FileConfig struct {
	Config
	TableName string `json:"tableName"`
	DBName    string `json:"dbName"`
	Host      string `json:"host"`
	Port      int    `json:"port"`
	User      string `json:"user"`
	Password  string `json:"password"`
}

Source Files

Jump to

Keyboard shortcuts

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