/go-restservice

A small example of a REST service made in Go

Primary LanguageGo

go-restservice

This repo has a small example of a REST service made in Golang.

Run the build.sh file to build the executable, and the run it. You can choose the port for it to listen on, but setting an enviroment variable called REST_PORT

export REST_PORT=8001
./main

This repo is made from the example shown here : https://appliedgo.net/rest/