7 Common mistakes in Go and when to avoid them
SPF13
NOVEMBER 18, 2014
Passes Implementation Details Down The Stack func (p *Page) Plain() string { return helpers.StripHTML(string(p.Content)) }. func (p *Page) Plain() string { return helpers.StripHTML(p.Content()) } Implementation Details Abstracted With A Method. Mistake 2: Thinking Of Errors As Strings.
Let's personalize your content