A simple http server in go.
- Install go
1.14or higher from here - GNU Make
- Execute
make build
- Execute
make run CMD="server"
Pre-requisite is to install Docker on your machine. link
- Build the image using
docker build -t go-hello-server . - Run container using
docker run -p 9000:9000 -d go-hello-server - Your server runs on a container and exposed via 9000 port
Harsha