package
1.0.2
Repository: https://github.com/s-marchenko/postgresql-go.git
Documentation: pkg.go.dev

# README

GoWeb-PostgreSQL

Based on project GoWeb-PostgreSQL

This application is written in Golang + HTML + JS

We use it with Terraform code for some Workshops, Meetups, Labs, etc.

How to use it

Here is a list of variables which you need to be add to env variables:

export DBPORT= "Your DB Port"

export DBHOST= "Your DB Host"

export DBUSER= "Your DB user"

export DBPASS= "Your DB Password"

echo export DBNAME = "Your DB Name"

Additional info

You can check the server where the application runs on using http:/yourIP/server endpoint

# Structs

Person is a struct decsribing its properties.

# Interfaces

Store will have two methods, to add a new person, and to get all existing people.