Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type GormOptions ¶
type GormOptions struct { UseInMemory bool `mapstructure:"useInMemory" json:"useInMemory"` UseSQLLite bool `mapstructure:"useSqlLite" json:"useSqlLite"` Host string `mapstructure:"host" json:"host"` Port int `mapstructure:"port" json:"port"` User string `mapstructure:"user" json:"user"` DBName string `mapstructure:"dbName" json:"dbName"` SSLMode bool `mapstructure:"sslMode" json:"sslMode"` Password string `mapstructure:"password" json:"password"` EnableTracing bool `mapstructure:"enableTracing" default:"true" json:"enableTracing"` }
func (*GormOptions) Dns ¶
func (h *GormOptions) Dns() string
Click to show internal directories.
Click to hide internal directories.