The highest tagged major version is
v5.
package
Version:
v4.5.0
Opens a new window with list of versions in this module.
Published: Feb 27, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 10
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.