Fix API template to not use "golang.org/x/net/context"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
4c0a050ee2
commit
a8b4e04e2f
1 changed files with 1 additions and 3 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue