Thanks to visit codestin.com
Credit goes to github.com

Skip to content

speedata/goxlsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goxlsx

Excel-XML reader for Go

Installation

go get github.com/speedata/goxlsx

Usage example

package main

import (
    "fmt"
    "log"

    "github.com/speedata/goxlsx"
)

func main() {
    excelfile := "Worksheet1.xlsx"
    spreadsheet, err := goxlsx.OpenFile(excelfile)
    if err != nil {
        log.Fatal(err)
    }
    ws1, err := spreadsheet.GetWorksheet(0)
    if err != nil {
        log.Fatal(err)
    }
    fmt.Println(ws1.Name)
    fmt.Printf("Spreadsheet 0 (%s) starts at (%d,%d) and extends to (%d,%d)\n", ws1.Name, ws1.MinColumn, ws1.MinRow, ws1.MaxColumn, ws1.MaxRow)
    fmt.Println(ws1.Cell(ws1.MinColumn, ws1.MinRow))
    fmt.Println(ws1.Cell(3, 3))

}

Other:

Status: usable
Maturity level: 5/5 (used in production, API will not change)
Supported/maintained: yes
Contribution welcome: yes (pull requests, issues)
Main page: https://github.com/speedata/goxlsx
License: MIT
Contact: [email protected]

About

Excel-XML reader for Go

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages