csv

package
v0.0.0-...-b48d978 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2013 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Gone-lib CSV file "one" liners. See ReadAll().

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAll

func ReadAll(filename string) ([][]string, error)

Read all rows of a CSV file as a 2D array of strings.

Example

This example shows how to read all rows from a given CSV file.

data, err := ReadAll("/Users/example/tmp/mydata.csv")

if data == nil && err != nil {
	// Could not read file
}
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

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