list.go
func (l List) MarshalText() (text []byte, err error) {
	var buf bytes.Buffer
	l.writeToBuffer(&buf)
	return buf.Bytes(), nil
}
func (l List) MarshalText() (text []byte, err error) {
	var buf bytes.Buffer
	l.writeToBuffer(&buf)
	return buf.Bytes(), nil
}
func ( l List ) MarshalText ( ) ( text [ ] byte , err error ) { var buf bytes . Buffer l . writeToBuffer ( & buf ) return buf . Bytes ( ) , nil }
// MarshalText implements the TextMarshaler interface.
MarshalText implements the TextMarshaler interface .