package
Version:
v5.1.5
Opens a new window with list of versions in this module.
Published: Nov 26, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
DB is the main accesor to the global postgresql client singleton
DbConnection : init DB access.
func ReplaceGlobals(dbClient *sqlx.DB) func()
ReplaceGlobals replace the global postgresql client singleton with the provided one
type Credentials struct {
URL string `json:"url,omitempty"`
Port string `json:"port,omitempty"`
User string `json:"user,omitempty"`
Password string `json:"password,omitempty"`
DbName string `json:"dbname,omitempty"`
}
Credentials : Give All DB Information.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.