Tests clean up.
This commit is contained in:
parent
ffba8718ca
commit
367602757f
20 changed files with 46932 additions and 178 deletions
13
tests/dbconfig/dbconfig.go
Normal file
13
tests/dbconfig/dbconfig.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package dbconfig
|
||||
|
||||
import "fmt"
|
||||
|
||||
const (
|
||||
Host = "localhost"
|
||||
Port = 5432
|
||||
User = "postgres"
|
||||
Password = "postgres"
|
||||
DBName = "dvd_rental"
|
||||
)
|
||||
|
||||
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