mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user