Skip to content
 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mabetle GoCSV

CSV format file utils. It's very useful when import and export data between database.

Install

`go get -u github.com/mabetle/gocsv`

Usage

import "github.com/mabetle/gocsv"

file:="demo.csv"

csv:=gocsv.LoadFile(file)
csv.GetRows()			//return rows, int
csv.GetColumns()		//return columns, int
csv.GetHeaderRow()		//return header row, string[]
csv.GetString(row,column) //return specific row col value, string

Run Demo

`go run cmd/gocsv_demo/main.go`

BUGS

TODO

About

CSV format file parse utils. Very useful in import and export data between database

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages