Basic template to start creating Golang API. Clone it and change it as per your requirements
Make sure you have go installed & your code editor setup (https://gist.github.com/03a248ffe50d1fab3341b30b07a29556.git)
Clone repository
git clone [email protected]:realpvn/template-goAPI.git
Open your terminal and navigate to the cloned directory and run
go run main.go
You can open your browser and visit localhost:8080
From here you can start editing.