code: func (p *pktline) writePacketText(data string) error {
  	return p.writePacket([]byte(data + "\n"))
  }
docs: // writePacketText follows the same semantics as `writePacket`, but appends a
  // trailing "\n" LF character to the end of the data.