2023-07-06 11:29:06 +00:00
|
|
|
# go-web-app-template
|
|
|
|
|
|
|
|
Basic template for creating go applications
|
|
|
|
|
|
|
|
Includes:
|
|
|
|
* dotenv
|
|
|
|
* pq
|
|
|
|
* sqlx
|
|
|
|
* gin
|
|
|
|
* google.uuid
|
|
|
|
|
|
|
|
To start using make sure to setup either environment variables listed
|
|
|
|
below, or create .env file and copy variables below
|
|
|
|
```
|
|
|
|
PSQL_HOST=localhost
|
|
|
|
PSQL_PORT=5432
|
2023-07-10 08:10:13 +00:00
|
|
|
PSQL_USER=payment-poc
|
|
|
|
PSQL_PASSWORD=paymentPassword
|
|
|
|
PSQL_DB=payment-poc
|
2023-07-06 11:29:06 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Also, database is required for template to start, so you can start it with `docker compose up -d`
|