From 786df8e5e2c9a19f5bda0c30b9d48bcce248b07a Mon Sep 17 00:00:00 2001 From: Ilya Sevostyanov Date: Thu, 11 Oct 2018 11:32:40 +0300 Subject: [PATCH] Fix typo --- 6-search/example1/search.go | 4 ++-- 6-search/example2/search.go | 4 ++-- 6-search/example3/search.go | 4 ++-- 6-search/example4/search.go | 4 ++-- 6-search/example5/search.go | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/6-search/example1/search.go b/6-search/example1/search.go index 07a94f6..d97817c 100644 --- a/6-search/example1/search.go +++ b/6-search/example1/search.go @@ -33,10 +33,10 @@ func main() { start := time.Now() results := google("golang") - elasped := time.Since(start) + elapsed := time.Since(start) fmt.Println(results) - fmt.Println(elasped) + fmt.Println(elapsed) } func fakeSearch(kind string) search { diff --git a/6-search/example2/search.go b/6-search/example2/search.go index 820433e..e2d7ef8 100644 --- a/6-search/example2/search.go +++ b/6-search/example2/search.go @@ -33,10 +33,10 @@ func main() { start := time.Now() results := google("golang") - elasped := time.Since(start) + elapsed := time.Since(start) fmt.Println(results) - fmt.Println(elasped) + fmt.Println(elapsed) } func fakeSearch(kind string) search { diff --git a/6-search/example3/search.go b/6-search/example3/search.go index 6922a7e..054529d 100644 --- a/6-search/example3/search.go +++ b/6-search/example3/search.go @@ -33,10 +33,10 @@ func main() { start := time.Now() results := google("golang") - elasped := time.Since(start) + elapsed := time.Since(start) fmt.Println(results) - fmt.Println(elasped) + fmt.Println(elapsed) } func fakeSearch(kind string) search { diff --git a/6-search/example4/search.go b/6-search/example4/search.go index 2c9bb56..a55611b 100644 --- a/6-search/example4/search.go +++ b/6-search/example4/search.go @@ -33,10 +33,10 @@ func main() { fakeSearch("replica 1"), fakeSearch("replica 2")) - elasped := time.Since(start) + elapsed := time.Since(start) fmt.Println(result) - fmt.Println(elasped) + fmt.Println(elapsed) } func fakeSearch(kind string) search { diff --git a/6-search/example5/search.go b/6-search/example5/search.go index 37c7218..9c9d629 100644 --- a/6-search/example5/search.go +++ b/6-search/example5/search.go @@ -40,10 +40,10 @@ func main() { start := time.Now() results := google("golang") - elasped := time.Since(start) + elapsed := time.Since(start) fmt.Println(results) - fmt.Println(elasped) + fmt.Println(elapsed) } func fakeSearch(kind string) search {