Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFile ¶
ReadFile reads CSV file and return CSV records.
Example ¶
package main
import (
"log"
"github.com/northbright/csvhelper"
)
func main() {
f := "files/example.csv"
records, err := csvhelper.ReadFile(f)
if err != nil {
log.Printf("ReadFile() error: %v", err)
return
}
log.Printf("records: %v", records)
}
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.