POSTS

Comment on exported method should be of the form

Problem

comment on exported method should be of the form “ …”

Solution

The type

func (p MyType) Get2() int { return p.i }

should have a comment in the form:

// Get2 blablabla 
func (p MyType) Get2() int { return p.i }\]\]>