type Report … type Change … func (r Report) messages(compatible bool) []string { … } func (r Report) String() string { … } func (r Report) Text(w io.Writer) error { … } func (r Report) TextIncompatible(w io.Writer, withHeader bool) error { … } func (r Report) TextCompatible(w io.Writer) error { … } func (r Report) writeMessages(w io.Writer, header string, msgs []string) error { … }