Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Chapter01, and 02/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (p *Person) Grow() {
p.Age++
}

// DoesNotGrow method has a value receiver. This is Pass-By-Value. Age will nto be modified here
// DoesNotGrow method has a value receiver. This is Pass-By-Value. Age will not be modified here
func (p Person) DoesNotGrow() {
p.Age++
}
Expand Down
2 changes: 1 addition & 1 deletion Chapter01, and 02/pigeon/pigeon.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package pigeon is used to demonstrate visibily and scope for packages
// Package pigeon is used to demonstrate visibility and scope for packages
package pigeon


Expand Down