File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ func ExampleEdgeQuery_FindEdges_findClosestEdges() {
129
129
// fractal.setLevelForApproxMaxEdges(48)
130
130
// fractal.makeLoop(randomFrameAtPoint(
131
131
// PointFromLatLng(LatLngFromDegrees(39.833, -98.55))), s1.Angle(0.15))
132
- s2. Polyline {
132
+ {
133
133
s2 .PointFromLatLng (s2 .LatLngFromDegrees (47.5467 , - 103.6035 )),
134
134
s2 .PointFromLatLng (s2 .LatLngFromDegrees (45.9214 , - 103.7320 )),
135
135
s2 .PointFromLatLng (s2 .LatLngFromDegrees (45.1527 , - 105.8000 )),
@@ -224,7 +224,7 @@ func ExampleEdgeQuery_FindEdges_findFurthestEdges() {
224
224
polylines := []s2.Polyline {
225
225
// This is an iteration = 3 Koch snowflake centered at the
226
226
// center of the continental US.
227
- s2. Polyline {
227
+ {
228
228
s2 .PointFromLatLng (s2 .LatLngFromDegrees (47.5467 , - 103.6035 )),
229
229
s2 .PointFromLatLng (s2 .LatLngFromDegrees (45.9214 , - 103.7320 )),
230
230
s2 .PointFromLatLng (s2 .LatLngFromDegrees (45.1527 , - 105.8000 )),
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ func TestParseLatLng(t *testing.T) {
38
38
},
39
39
{
40
40
have : "0:0" ,
41
- want : []LatLng {LatLng {Lat : 0 , Lng : 0 }},
41
+ want : []LatLng {{Lat : 0 , Lng : 0 }},
42
42
},
43
43
{
44
44
have : "0:0, 0:-90" ,
You can’t perform that action at this time.
0 commit comments