use following command to see help to generate docs please visit https://github.com/swaggo/swag#readme
swag init --help
run following if swag command not found
# install swag
go get -u github.com/swaggo/swag/cmd/swag
# set command path
export PATH=$(go env GOPATH)/bin:$PATH