So this is just example build microservice with static data, i hope you this repo will help you learning golang


1. clone this repository

git clone https://github.com/farhanfatur/microservice-static-go.git

2. set Environtment PORT on your terminal

for Windows

set PORT=1234

for mac/linux

export PORT=1234

3. run the service

go run main.go