Skip to content

`goxl` is a Golang library for reading Excel files in the same way as CSV.

Notifications You must be signed in to change notification settings

IamFaizanKhalid/goxl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goxl

goxl is a Golang library for reading Excel files in the same way as CSV.

Installation

go get github.com/IamFaizanKhalid/goxl

Usage

package main

import (
	"fmt"
	"log"

	"github.com/IamFaizanKhalid/goxl"
)

func main() {
	xl, err := goxl.Open("test.xlsx")
	if err != nil {
		log.Fatal(err)
	}
	defer xl.Close()

	sheet, err := xl.OpenDefaultSheet()
	if err != nil {
		log.Fatal(err)
	}
	defer sheet.Close()

	for sheet.Next() {
		row := sheet.Row()
		fmt.Println(row)
	}
}

About

`goxl` is a Golang library for reading Excel files in the same way as CSV.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages