Skip to content

Commit 6051daf

Browse files
xljxlj
authored andcommitted
empty
1 parent c132506 commit 6051daf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

119-Structs/struct-4.gop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bob := person{
1212
name: "Beth",
1313
}
1414
bob.name = "Bob"
15-
println(beth.name)
15+
println(bob.name)
1616

1717
// Just like we use brackets for both reading and writing to a map, we use dotted
1818
// notation for reading and writing struct fields.

0 commit comments

Comments
 (0)