hoeghh / go-restservice

A small example of a REST service made in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

A small example of a REST service made in Go


Languages

Language:Go 88.4%Language:Shell 11.6%