Build API Service using Go

Ariel Akilie
Oct 22, 2017 · 1 min read

Build API service using Go is very easy

Here is the simple API service that I create using Go and Gin as the web framework

Put code above into your main file and run it on terminal go run app yourfile.go

Your program will be run web server that server at port8080 try to make request to there and you will see response from server.

That’s it as simple as that.

Ariel Akilie

Written by

just ordinary boy

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade