Using Swagger To Document Your Go Application

Adam Presley
2 min readNov 23, 2020
Photo by Bernd Klutsch on Unsplash

Go, commonly referred to as “Golang”, is a great language for writing RESTful service applications. Every good service application should have documentation describing its endpoints for future consumers, even if that consumer is you. Enter Swagger, one the best ways to document RESTful APIs. In this article I’ll talk about using a tool called swag to document and generate an endpoint for viewing your…

Adam Presley

Just a guy who loves his wife, kids, and writing software.