this api was develop to study.
# clone repo
git clone https://github.com/romaryoricardo/api-golang-example.git
cd api-golang-example
# create folder persistent data to postgresql
mkdir postgresql
# start application
docker-compose up --build
curl --location --request GET 'localhost:8080'
curl --location --request POST 'localhost:8080/users' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Romaryo",
"email": "r@gmail.com"
}'
curl --location --request GET 'localhost:8080/users'