Browse code

Fix API template to not use "golang.org/x/net/context"

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2018/07/13 16:54:24
Showing 1 changed files
... ...
@@ -8,10 +8,8 @@ package {{ .Package }}
8 8
 // ----------------------------------------------------------------------------
9 9
 
10 10
 import (
11
+	"context"
11 12
 	"net/http"
12
-
13
-	context "golang.org/x/net/context"
14
-
15 13
   {{ range .DefaultImports }}{{ printf "%q" . }}
16 14
   {{ end }}
17 15
   {{ range $key, $value := .Imports }}{{ $key }} {{ printf "%q" $value }}