Skip to content

Instantly share code, notes, and snippets.

@patarapolw
Last active May 30, 2020 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patarapolw/2e4b202a24b3dd6b011d81960df813a7 to your computer and use it in GitHub Desktop.
Save patarapolw/2e4b202a24b3dd6b011d81960df813a7 to your computer and use it in GitHub Desktop.
GoDoc doesn't like Multiline Markdown rendering in VSCode
// @title Blueprint Swagger API
// @version 1.0
// @description Swagger API for Golang Project Blueprint.
// @termsOfService http://swagger.io/terms/
// @contact.name API Support
// @contact.email martin7.heinz@gmail.com
// @license.name MIT
// @license.url https://github.com/MartinHeinz/go-project-blueprint/blob/master/LICENSE
// @BasePath /api/v1
func main() {
...
r.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment