Documentation ¶
Index ¶
Constants ¶
View Source
const (
DatabaseType = "mysql"
)
Variables ¶
This section is empty.
Functions ¶
func GoquDialectOptions ¶ added in v1.10.0
func GoquDialectOptions() *sqlgen.SQLDialectOptions
func GoquExpressions ¶ added in v1.10.0
func GoquExpressions() *base.Expressions
Types ¶
type Config ¶
type Config struct { Host string `json:"host"` Port int `json:"port"` DBName string `json:"dbname"` User string `json:"user"` Password string `json:"password"` SSLMode string `json:"sslmode"` TunnelInfo *sshtunnel.Config `json:"tunnel_info,omitempty"` // SkipHostValidation is used to skip host validation during tests SkipHostValidation bool `json:"skipHostValidation"` UseLegacyMappings bool `json:"useLegacyMappings"` }
func (Config) ConnectionString ¶
Click to show internal directories.
Click to hide internal directories.