Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBMetricsSetup ¶
func DBMetricsSetup[T interface { Ping() error Close() error Query(query string, args ...any) (*sql.Rows, error) SetConnMaxIdleTime(d time.Duration) SetConnMaxLifetime(d time.Duration) SetMaxIdleConns(n int) SetMaxOpenConns(n int) Stats() sql.DBStats }](fn func(string, string) (T, error)) func(string, string) (T, error)
func SetFixInterpolateParams ¶
func SetFixInterpolateParams(enable bool)
func SetQueryTrace ¶
func SetQueryTrace(enable bool)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.