mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
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:
parent
9650c66da3
commit
40a48ad93f
@ -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"
|
||||||
)
|
)
|
||||||
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user