Documentation
¶
Overview ¶
Package sql provides SQL database wiring and helpers for go-service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = di.Module( pg.Module, )
Module provides the Fx module that wires SQL database support.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// PG configures the PostgreSQL driver, including connection pool settings and DSNs.
PG *pg.Config `yaml:"pg,omitempty" json:"pg,omitempty" toml:"pg,omitempty"`
}
Config contains SQL database configuration for go-service.
It currently supports PostgreSQL via the PG field.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package config provides SQL database configuration types for go-service.
|
Package config provides SQL database configuration types for go-service. |
|
Package driver provides SQL driver registration and adapter helpers for go-service.
|
Package driver provides SQL driver registration and adapter helpers for go-service. |
|
Package pg provides SQL database wiring and helpers for go-service.
|
Package pg provides SQL database wiring and helpers for go-service. |
Click to show internal directories.
Click to hide internal directories.