code: func (p *pktline) readPacketText() (string, error) {
  	data, err := p.readPacket()
  	return strings.TrimSuffix(string(data), "\n"), err
  }
docs: // readPacketText follows identical semantics to the `readPacket()` function,
  // but additionally removes the trailing `\n` LF from the end of the packet, if
  // present.