Utility to detect delimiter on an csv file and continue to read file without effort
- Go 100%
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| main_test.go | ||
| parser.go | ||
| README.md | ||
| scores.go | ||
Package csvdelimiter
go get "codeberg.org/markysand/csvdelimiter"
Package csvdelimiter is a simple csv delimiter detector package that works with io.Reader inputs.
Package csvdelimiter uses a rudimentary algorithm for detecting the delimiter, searching for the most frequently used letter out of a subset of approved delimiter letters. Extra weight is added depending on how the delimiter relates to citation marks.
For most use cases it should not fail.