From a8b4e04e2f6ae95a5146c4c4d794cda1a725c634 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 13 Jul 2018 09:54:24 +0200 Subject: [PATCH] Fix API template to not use "golang.org/x/net/context" Signed-off-by: Sebastiaan van Stijn --- api/templates/server/operation.gotmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }}