diff --git a/cnn_market.go b/cnn_market.go index 06923d1..40f1df9 100644 --- a/cnn_market.go +++ b/cnn_market.go @@ -108,7 +108,7 @@ func (market *Market) Fetch() (self *Market) { return market.extract(market.trim(body)) } -// Ok returns two values: 1) boolean indicating whether the error has occured, +// Ok returns two values: 1) boolean indicating whether the error has occurred, // and 2) the error text itself. func (market *Market) Ok() (bool, string) { return market.errors == ``, market.errors diff --git a/markup.go b/markup.go index d2abc5e..4bf5e64 100644 --- a/markup.go +++ b/markup.go @@ -77,7 +77,7 @@ func (markup *Markup) Tokenize(str string) []string { tail = match[0] if match[1] != 0 { if head != 0 || tail != 0 { - // Apend the text between tags. + // Append the text between tags. strings = append(strings, str[head:tail]) } // Append the tag itmarkup. diff --git a/screen.go b/screen.go index 51e8d8e..2c92614 100644 --- a/screen.go +++ b/screen.go @@ -12,8 +12,8 @@ import ( `fmt` ) -// Screen is thin wrapper aroung Termbox library to provide basic display -// capabilities as requied by Mop. +// Screen is thin wrapper around Termbox library to provide basic display +// capabilities as required by Mop. type Screen struct { width int // Current number of columns. height int // Current number of rows. diff --git a/sorter.go b/sorter.go index 7ea8e4a..d193557 100644 --- a/sorter.go +++ b/sorter.go @@ -223,7 +223,7 @@ func (sorter *Sorter) SortByCurrentColumn(stocks []Stock) *Sorter { } // The same exact method is used to sort by $Change and Change%. In both cases -// we sort by the value of Change% so that multiple $0.00s get sorted proferly. +// we sort by the value of Change% so that multiple $0.00s get sorted properly. func c(str string) float32 { c := "$" for _, v := range currencies { diff --git a/yahoo_quotes.go b/yahoo_quotes.go index d4fbe46..1807601 100644 --- a/yahoo_quotes.go +++ b/yahoo_quotes.go @@ -96,7 +96,7 @@ func (quotes *Quotes) Fetch() (self *Quotes) { return quotes } -// Ok returns two values: 1) boolean indicating whether the error has occured, +// Ok returns two values: 1) boolean indicating whether the error has occurred, // and 2) the error text itself. func (quotes *Quotes) Ok() (bool, string) { return quotes.errors == ``, quotes.errors