module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jul 1, 2020
License: MIT
Opens a new window with license information.
README
¶
Go Utils
Utils for go
Usage
Start the database
docker run -d --rm -p 3306:3306 --name go-mariadb -e MYSQL_ROOT_PASSWORD=golang -e MYSQL_USER=golang -e MYSQL_PASSWORD=golang -e MYSQL_DATABASE=clients mariadb:10.3.9-bionic
Run the test suite
export SQL_CONN="golang:golang@tcp(localhost:3306)/clients"
go test ./...
Or account roundpartner
export SQL_CONN="roundpartner:roundpartner@tcp(192.168.33.99:3306)/clients"
go test ./...
Stop the database
docker stop go-mariadb
Directories
¶
Click to show internal directories.
Click to hide internal directories.