Skip to content
/ gocsv Public
forked from jandre/gocsv

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

Notifications You must be signed in to change notification settings

bkali/gocsv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Go 100.0%