Skip to content

Commit 04509cd

Browse files
committed
Update import paths to new GitHub home.
1 parent 8a663b7 commit 04509cd

18 files changed

+26
-26
lines changed

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The S2 Geometry Library is a spherical geometry library, useful for manipulating
22
regions on the sphere (commonly on Earth) and indexing geographic data.
33

4-
See http://godoc.org/code.google.com/p/gos2/s2 for documentation.
4+
See http://godoc.org/github.com/golang/geo/s2 for documentation.
55

66
For an analogous library in C++, see http://code.google.com/p/s2-geometry-library/.

r2/rect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package r2
33
import (
44
"fmt"
55

6-
"code.google.com/p/gos2/r1"
6+
"github.com/golang/geo/r1"
77
)
88

99
// Point represents a point in ℝ².

r2/rect_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"reflect"
88
"testing"
99

10-
"code.google.com/p/gos2/r1"
10+
"github.com/golang/geo/r1"
1111
)
1212

1313
var (

r3/vector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"math"
66

7-
"code.google.com/p/gos2/s1"
7+
"github.com/golang/geo/s1"
88
)
99

1010
// Vector represents a point in ℝ³.

s2/cap.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"math"
66

7-
"code.google.com/p/gos2/r1"
8-
"code.google.com/p/gos2/s1"
7+
"github.com/golang/geo/r1"
8+
"github.com/golang/geo/s1"
99
)
1010

1111
const (

s2/cap_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"math"
55
"testing"
66

7-
"code.google.com/p/gos2/s1"
7+
"github.com/golang/geo/s1"
88
)
99

1010
const (

s2/cell.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package s2
22

33
import (
4-
"code.google.com/p/gos2/r2"
4+
"github.com/golang/geo/r2"
55
)
66

77
// Cell is an S2 region object that represents a cell. Unlike CellIDs,

s2/cellid.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"strconv"
88
"strings"
99

10-
"code.google.com/p/gos2/r1"
11-
"code.google.com/p/gos2/r2"
12-
"code.google.com/p/gos2/r3"
10+
"github.com/golang/geo/r1"
11+
"github.com/golang/geo/r2"
12+
"github.com/golang/geo/r3"
1313
)
1414

1515
// CellID uniquely identifies a cell in the S2 cell decomposition.

s2/cellid_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"sort"
55
"testing"
66

7-
"code.google.com/p/gos2/r2"
8-
"code.google.com/p/gos2/s1"
7+
"github.com/golang/geo/r2"
8+
"github.com/golang/geo/s1"
99
)
1010

1111
func TestCellIDFromFace(t *testing.T) {

s2/latlng.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"math"
66

7-
"code.google.com/p/gos2/s1"
7+
"github.com/golang/geo/s1"
88
)
99

1010
// LatLng represents a point on the unit sphere as a pair of angles.

s2/point.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package s2
33
import (
44
"math"
55

6-
"code.google.com/p/gos2/r3"
7-
"code.google.com/p/gos2/s1"
6+
"github.com/golang/geo/r3"
7+
"github.com/golang/geo/s1"
88
)
99

1010
// Direction is an indication of the ordering of a set of points

s2/point_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"math"
55
"testing"
66

7-
"code.google.com/p/gos2/r3"
7+
"github.com/golang/geo/r3"
88
)
99

1010
func float64Near(x, y, ε float64) bool {

s2/rect.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"math"
66

7-
"code.google.com/p/gos2/r1"
8-
"code.google.com/p/gos2/s1"
7+
"github.com/golang/geo/r1"
8+
"github.com/golang/geo/s1"
99
)
1010

1111
// Rect represents a closed latitude-longitude rectangle.

s2/rect_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"math"
55
"testing"
66

7-
"code.google.com/p/gos2/r1"
8-
"code.google.com/p/gos2/s1"
7+
"github.com/golang/geo/r1"
8+
"github.com/golang/geo/s1"
99
)
1010

1111
func TestEmptyAndFullRects(t *testing.T) {

s2/s2_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strconv"
88
"strings"
99

10-
"code.google.com/p/gos2/s1"
10+
"github.com/golang/geo/s1"
1111
)
1212

1313
func float64Eq(x, y float64) bool { return math.Abs(x-y) < 1e-14 }

s2/s2_test_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"reflect"
55
"testing"
66

7-
"code.google.com/p/gos2/r1"
8-
"code.google.com/p/gos2/s1"
7+
"github.com/golang/geo/r1"
8+
"github.com/golang/geo/s1"
99
)
1010

1111
func TestKmToAngle(t *testing.T) {

s2/stuv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package s2
33
import (
44
"math"
55

6-
"code.google.com/p/gos2/r3"
6+
"github.com/golang/geo/r3"
77
)
88

99
const (

s2/stuv_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package s2
33
import (
44
"testing"
55

6-
"code.google.com/p/gos2/r3"
6+
"github.com/golang/geo/r3"
77
)
88

99
func TestSTUV(t *testing.T) {

0 commit comments

Comments
 (0)