Additional documentation for sub packages.
This commit is contained in:
parent
b10270b502
commit
556578cec9
19 changed files with 111 additions and 77 deletions
|
|
@ -2,6 +2,7 @@ package dbconfig
|
|||
|
||||
import "fmt"
|
||||
|
||||
// test database connection parameters
|
||||
const (
|
||||
Host = "localhost"
|
||||
Port = 5432
|
||||
|
|
@ -10,4 +11,5 @@ const (
|
|||
DBName = "jetdb"
|
||||
)
|
||||
|
||||
// ConnectString is PostgreSQL connection string
|
||||
var ConnectString = fmt.Sprintf("host=%s port=%d user=%s password=%s dbname=%s sslmode=disable", Host, Port, User, Password, DBName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue