Generate Swagger 2.0 API documentation from Go source code
Automatically generate RESTful API documentation with Swagger 2.0 for Go
swag
$ swag init
$ swag init -g main.go
$ swag fmt