Socket
Socket
Sign inDemoInstall

github.com/pschlump/gowords

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/pschlump/gowords

Package words reads and writes blank-separated values files. This is intended to be a rudimentary parser for the front end of an interpreter. A csv file contains zero or more records of one or more fields per record. Each record is separated by the newline character. The final record may optionally be followed by a newline character. White space is considered part of a field. // xyzzy -- Ignore white spaces - change this. White space is not considered part of a field. Carriage returns before newline characters are silently removed. Blank lines are ignored. A line with only whitespace characters (excluding the ending newline character) is not considered a blank line. // xyzzy -- change this. Make whitespace liens blank lines the ending newline character) is considered a blank line. Fields which start and stop with the quote character " are called quoted-fields. The beginning and ending quote are not part of the field. The source: results in the fields Within a quoted-field a quote character followed by a second quote character is considered a single quote. results in Newlines and commas may be included in a quoted-field results in


Version published

Readme

Source

gowords

license

This is a modified version of the Go (golang) CSV reader. It has been changed so that the default is to read in white space delimited words. Alternatively the words can be quoted with quote marks like C and include spaces inside them.

FAQs

Last updated on 09 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc