Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDuplicateKeyError ¶
func IsNoFoundError ¶
func RegisterCallbacks ¶
Types ¶
type Config ¶
type Config struct {
Path string `json:"path"`
MaxOpenConn int `json:"max_open_conn,omitempty"`
MaxIdleConn int `json:"max_idle_conn,omitempty"`
MaxIdleTimeSec int `json:"max_life_time_sec,omitempty"`
LogConfig *sql.LogConfig `json:"log_config,omitempty"`
DisableErrorHook bool `json:"disable_error_hook,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.