1
0
Fork 0
mirror of https://github.com/imjasonh/staticmaps synced 2026-07-08 10:55:03 +00:00

use golang context package

This commit is contained in:
Jason Hall 2015-03-26 15:56:27 -04:00
parent 70a0403b6d
commit 9d0e43710d
9 changed files with 9 additions and 9 deletions

View file

@ -3,7 +3,7 @@ package maps
import (
"net/http"
"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)
type contextKey int

View file

@ -6,7 +6,7 @@ import (
"strings"
"time"
"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)
const (

View file

@ -5,7 +5,7 @@ import (
"net/url"
"time"
"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)
// DistanceMatrix requests travel distance and time for a matrix of origins and destinations.

View file

@ -4,7 +4,7 @@ import (
"fmt"
"net/url"
"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)
// Elevation requests elevation data for a series of locations.

View file

@ -5,7 +5,7 @@ import (
"net/url"
"strings"
"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)
const (

View file

@ -9,7 +9,7 @@ import (
"net/http"
"strings"
"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)
const (

View file

@ -8,7 +8,7 @@ import (
"net/url"
"strings"
"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)
const (

View file

@ -6,7 +6,7 @@ import (
"net/http"
"net/url"
"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)
// StreetView requests a static StreetView image of the requested size.

View file

@ -5,7 +5,7 @@ import (
"net/url"
"time"
"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)
// TimeZone requests time zone information about a location.