code: func (p *pktline) writePacketList(list []string) error {
  	for _, i := range list {
  		if err := p.writePacketText(i); err != nil {
  			return err
  		}
  	}
  
  	return p.writeFlush()
  }
docs: // writePacketList writes a slice of strings using the semantics of
  // and then writes a terminating flush sequence afterwords.
  //
  // If any error was encountered, it will be returned immediately.