diff --git a/api/templates/server/operation.gotmpl b/api/templates/server/operation.gotmpl index 8bed59d920..cf24aacc5f 100644 --- a/api/templates/server/operation.gotmpl +++ b/api/templates/server/operation.gotmpl @@ -8,10 +8,8 @@ package {{ .Package }} // ---------------------------------------------------------------------------- import ( + "context" "net/http" - - context "golang.org/x/net/context" - {{ range .DefaultImports }}{{ printf "%q" . }} {{ end }} {{ range $key, $value := .Imports }}{{ $key }} {{ printf "%q" $value }}