db

package
v0.4.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDb

func ConnectDb(v *viper.Viper, dbname string) (*sql.DB, error)

func ConnectSelfDb

func ConnectSelfDb(v *viper.Viper) (*sql.DB, error)

func GetPgConnUriFromViper

func GetPgConnUriFromViper(v *viper.Viper, dbname string) string

Types

This section is empty.

Directories

Path Synopsis
this is a central place for calling driver-specific internal functions
this is a central place for calling driver-specific internal functions
pg
pgq
not necessary to move ALL SQL queries here
not necessary to move ALL SQL queries here

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL