aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/common.go
diff options
context:
space:
mode:
authormarwan-at-work <marwan.sulaiman@work.co>2017-04-06 16:25:29 -0400
committermarwan-at-work <marwan.sulaiman@work.co>2017-04-06 16:26:38 -0400
commite0b296d0d0d235ad848cce7bc19130505c33d97b (patch)
tree091972513babd4beca29d0318058facb678e5d1c /_examples/common.go
parent2b503ad6cd32fa8e265e36dd09ea76d53bc26950 (diff)
downloadgo-git-e0b296d0d0d235ad848cce7bc19130505c33d97b.tar.gz
pr-fixes
Diffstat (limited to '_examples/common.go')
-rw-r--r--_examples/common.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/_examples/common.go b/_examples/common.go
index c4618ae..2719c0e 100644
--- a/_examples/common.go
+++ b/_examples/common.go
@@ -6,7 +6,7 @@ import (
"strings"
)
-// CheckArgs should be uesed to esnure the right command line arguments are
+// CheckArgs should be used to esnure the right command line arguments are
// passed before executing an example.
func CheckArgs(arg ...string) {
if len(os.Args) < len(arg)+1 {
@@ -15,7 +15,7 @@ func CheckArgs(arg ...string) {
}
}
-// CheckIfError should be used to naiivly panics if an error is not nil.
+// CheckIfError should be used to naively panics if an error is not nil.
func CheckIfError(err error) {
if err == nil {
return