Fix compatibility with GO 1.6 for context package
This commit is contained in:
parent
ad8bf6b3b7
commit
5fdce9bb55
|
@ -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