Skip to content

gigovich/querycute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc Go Report Card

QueryCute

Simple Go query tool for PostgreSQL

Tests

Set test database auth credentails in .env file. Use .env.example as template. Install test dependencies:

go get -t .

Create test user and database:

sudo -u postgres psql -c "CREATE USER test WITH PASSWORD 'test123'"
sudo -u postgres psql -c "CREATE DATABASE test WITH OWNER test"

Copy create .env file from .env.example and run tests:

cp .env.example .env
go test -v .

About

Simple Go query tool for PostgreSQL

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages