todo
-
- Install air-verse/air globally
go install github.com/air-verse/air@latest
# Make sure that GOPATH and GOROOT is in your PATH
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin-
- Initialize (this will perform some installations)
make quickstart- Root User:
- Username:
root - Password:
Q7m!v2Zp#9tX
- Username:
- Identity: http://localhost:10000
- GameHangar: http://localhost:10010
- Prepare Go env
make init- Run Migrations
make migrate-identity-up- Start
# Run chat-identity
make run-server-local-
Use properly a transaction => How to use jackc/pgx with connection pool, context, prepared statements etc
-
Cool discussion How to use pooling correctly? #1989
-
Check out a "clean" db pool implementation: clean-net-http)
To use gotestsum run:
go install gotest.tools/gotestsum@latest