Discover Packages
codeberg.org/markysand/csvdelimiter
package
module
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Aug 15, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package csvdelimiter is a simple csv delimiter
detector package that works with io.Reader inputs
View Source
var DefaultDelimiters = runeDict{',', ';', '\t'}
DefaultDelimiters are the delimiters used if none
are provided
Detect will take a reader and
figure out the delimiter in use
by reading just enough of the reader,
then return a new reader that has both
the values read and the remaining ones
delimiters are optional, if delimiters arg is omitted
DefaultDelimiters are used
NewReader will return a csv.Reader with
auto detected delimiter.
If delimiters arg is omitted
DefaultDelimiters will be used
Source Files
¶
Click to show internal directories.
Click to hide internal directories.