godoc: replace x/net/context with context

Change-Id: I5b0508ccf7a912a8f334abcfb32033e120fc7971
Reviewed-on: https://go-review.googlesource.com/c/143717
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Hana Kim 2018-10-22 11:02:50 -04:00 committed by Hyang-Ah Hana Kim
parent 9650c66da3
commit 40a48ad93f
3 changed files with 3 additions and 3 deletions

View File

@ -7,6 +7,7 @@
package dl package dl
import ( import (
"context"
"crypto/hmac" "crypto/hmac"
"crypto/md5" "crypto/md5"
"encoding/json" "encoding/json"
@ -20,7 +21,6 @@ import (
"time" "time"
"cloud.google.com/go/datastore" "cloud.google.com/go/datastore"
"golang.org/x/net/context"
"golang.org/x/tools/godoc/env" "golang.org/x/tools/godoc/env"
"golang.org/x/tools/internal/memcache" "golang.org/x/tools/internal/memcache"
) )

View File

@ -8,6 +8,7 @@ package proxy
import ( import (
"bytes" "bytes"
"context"
"encoding/json" "encoding/json"
"fmt" "fmt"
"io/ioutil" "io/ioutil"
@ -18,7 +19,6 @@ import (
"strings" "strings"
"time" "time"
"golang.org/x/net/context"
"golang.org/x/tools/godoc/env" "golang.org/x/tools/godoc/env"
) )

View File

@ -12,6 +12,7 @@ package short
// TODO(adg): collect statistics on URL visits // TODO(adg): collect statistics on URL visits
import ( import (
"context"
"errors" "errors"
"fmt" "fmt"
"html/template" "html/template"
@ -22,7 +23,6 @@ import (
"regexp" "regexp"
"cloud.google.com/go/datastore" "cloud.google.com/go/datastore"
"golang.org/x/net/context"
"golang.org/x/tools/internal/memcache" "golang.org/x/tools/internal/memcache"
"google.golang.org/appengine/user" "google.golang.org/appengine/user"
) )