Fix import for context

This commit is contained in:
James Mills 2017-02-12 21:09:10 -08:00
parent 258627c692
commit 48e230ab23
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
1 changed files with 3 additions and 2 deletions

View File

@ -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