Fix import for context
This commit is contained in:
parent
258627c692
commit
48e230ab23
@ -1,4 +1,4 @@
|
|||||||
// gopher provides an implementation of the Gopher protocol (RFC 1436)
|
// Package gopher provides an implementation of the Gopher protocol (RFC 1436)
|
||||||
//
|
//
|
||||||
// Much of the API is similar in design to the net/http package of the
|
// Much of the API is similar in design to the net/http package of the
|
||||||
// standard library. To build custom Gopher servers implement handler
|
// standard library. To build custom Gopher servers implement handler
|
||||||
@ -10,7 +10,6 @@ package gopher
|
|||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
@ -27,6 +26,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"golang.org/x/net/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Item Types
|
// Item Types
|
||||||
|
Loading…
Reference in New Issue
Block a user