rest-api-gin

command module
v0.0.0-...-6b49015 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 9 Imported by: 0

README

Go REST API with Gin

Simple example using gin for a REST API connected to a postgres database using pgx.

Environment

Set postgres database connection parameters:

export DB_HOST=...
export DB_USER=...
export DB_PASSWORD=...
export DB_NAME=...

Dev mode

make start-dev

Dockerized version

make build
make start

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL