Skip to content

Commit 0266a3a

Browse files
author
William Kennedy
committed
Updated playground links for Carol's changes.
1 parent eed27af commit 0266a3a

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Barbara Miller <[email protected]>
2828
Bharath Bhushan Sreeravindra <[email protected]>
2929
3030
Carlos Marin <[email protected]>
31+
Carol St.Louis <[email protected]>
3132
Chetan Conikee <[email protected]>
3233
Cory LaNou <[email protected]>
3334

topics/maps/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ http://www.goinggo.net/2013/12/macro-view-of-map-internals-in-go.html
1616

1717
## Code Review
1818

19-
[Declare, initialize and iterate](example1/example1.go) ([Go Playground](https://play.golang.org/p/wVgTXEVimA))
19+
[Declare, initialize and iterate](example1/example1.go) ([Go Playground](http://play.golang.org/p/xRdyu6M-Vq))
2020

21-
[Map literal initialization](example2/example2.go) ([Go Playground](https://play.golang.org/p/C0RJU7WUca))
21+
[Map literal initialization](example2/example2.go) ([Go Playground](http://play.golang.org/p/EtPZoqHgaL))
2222

23-
[Map key restrictions](example3/example3.go) ([Go Playground](http://play.golang.org/p/FcY_0ckwOZ))
23+
[Map key restrictions](example3/example3.go) ([Go Playground](http://play.golang.org/p/bnnKVUeyhP))
2424

2525
## Advanced Code Review
2626

topics/maps/example1/example1.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// All material is licensed under the Apache License Version 2.0, January 2004
22
// http://www.apache.org/licenses/LICENSE-2.0
33

4-
// http://play.golang.org/p/WZ7qt_I8GY
4+
// http://play.golang.org/p/xRdyu6M-Vq
55

66
// Sample program to show how to declare, initialize and iterate
77
// over a map. Shows how iterating over a map is random.
@@ -11,7 +11,7 @@ import "fmt"
1111

1212
// user defines a user in the program.
1313
type user struct {
14-
name string
14+
name string
1515
surname string
1616
}
1717

topics/maps/example2/example2.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// All material is licensed under the Apache License Version 2.0, January 2004
22
// http://www.apache.org/licenses/LICENSE-2.0
33

4-
// https://play.golang.org/p/C0RJU7WUca
4+
// http://play.golang.org/p/EtPZoqHgaL
55

66
// Sample program to show how to declare and initialize a map
77
// using a map literal.
@@ -11,7 +11,7 @@ import "fmt"
1111

1212
// user defines a user in the program.
1313
type user struct {
14-
name string
14+
name string
1515
surname string
1616
}
1717

topics/maps/example3/example3.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// All material is licensed under the Apache License Version 2.0, January 2004
22
// http://www.apache.org/licenses/LICENSE-2.0
33

4-
// http://play.golang.org/p/FcY_0ckwOZ
4+
// http://play.golang.org/p/bnnKVUeyhP
55

66
// Sample program to show how only types that can have
77
// equality defined on them can be a map key.
@@ -11,8 +11,8 @@ import "fmt"
1111

1212
// user defines a user in the program.
1313
type user struct {
14-
name string
15-
email string
14+
name string
15+
surname string
1616
}
1717

1818
// users define a set of users.

0 commit comments

Comments
 (0)