POSTS

Exported type should have comment or be unexported

Problem

exported type should have comment or be unexported

Solution

The type

type MyType struct{ i int }\]\]>  

should have a comment in the form:

// MyType blablabla 
type MyType struct{ i int }\]\]>