Skip to content

Commit

Permalink
Add gin to imports template (#560)
Browse files Browse the repository at this point in the history
Gin should be imported by default (as other frameworks) and removed only if need by the `go fmt` step.
  • Loading branch information
mateuszlewko committed May 4, 2022
1 parent 09c1d86 commit 8e96ef6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/codegen/templates/imports.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
"github.com/getkin/kin-openapi/openapi3"
"github.com/go-chi/chi/v5"
"github.com/labstack/echo/v4"
"github.com/gin-gonic/gin"
{{- range .ExternalImports}}
{{ . }}
{{- end}}
Expand Down

0 comments on commit 8e96ef6

Please sign in to comment.