Golang Baca Excel
package main
import (
"log"
"time"
"github.com/360EntSecGroup-Skylar/excelize/v2"
)
func main() {
f := excelize.NewFile()
f.SetCellValue("Sheet1", "B2", 100)
f.SetCellValue("Sheet1", "A1", 50)
now := time.Now()
f.SetCellValue("Sheet1", "A4", now.Format(time.ANSIC))
if err := f.SaveAs("simple.xlsx"); err != nil {
log.Fatal(err)
}
}
Somegod Tsao