From 7a514352531f0e1025df0b46fab71edc48a2077d Mon Sep 17 00:00:00 2001 From: SaishNarvekar <35778345+SaishNarvekar@users.noreply.github.com> Date: Tue, 24 Nov 2020 22:55:59 +0530 Subject: [PATCH] Fixed typo in methods.go and pigeon.go files from Chapter01, and 02 folder --- Chapter01, and 02/methods.go | 2 +- Chapter01, and 02/pigeon/pigeon.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Chapter01, and 02/methods.go b/Chapter01, and 02/methods.go index 890bd89..b83ba12 100644 --- a/Chapter01, and 02/methods.go +++ b/Chapter01, and 02/methods.go @@ -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++ } diff --git a/Chapter01, and 02/pigeon/pigeon.go b/Chapter01, and 02/pigeon/pigeon.go index c8e7ec7..efe3850 100644 --- a/Chapter01, and 02/pigeon/pigeon.go +++ b/Chapter01, and 02/pigeon/pigeon.go @@ -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