csvreader

package module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: MIT Imports: 2 Imported by: 1

README

CSV Reader Build Status GoDoc License

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

Overview

Package csvreader ... Maintainer Illuminasy Packege to extract csv contents.

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