CSVReader

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2018 License: MIT Imports: 2 Imported by: 1

README

CSV Reader

Simple Golang interface to extract csv data.

Usage

Get the library:

$ go get -v github.com/Illuminasy/CSVReader
package somepackge

import "github.com/Illuminasy/CSVReader"

func someFunction() {
	lines, err := CSVReader.ExtractContents("some_file_path.csv")
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractContents

func ExtractContents(fileName string) ([][]string, error)

ExtractContents extracts array of lines from csv file

Types

type CSVRow

type CSVRow []string

CSVRow column values for a single line in csv

type CSVRows

type CSVRows []CSVRow

CSVRows lines from csv file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL