Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamph committed Feb 19, 2024
1 parent fd89db4 commit 1b4c720
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
Empty file modified .idea/go-excel.iml
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion .idea/modules.xml
100755 → 100644

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,21 @@
package main

import (
"fmt"
"log"
"path/filepath"
"fmt"
"log"
"path/filepath"

"github.com/dreamph/go-excel"
)

type Data struct {
ID string
Name string
Age int
ID string
Name string
Age int
}

func main() {
filePath := "example/read/read.xlsx"

filePath := "example/read/read.xlsx"
excelFile, err := excel.OpenFile(filepath.Clean(filePath))
if err != nil {
log.Fatalf(err.Error())
Expand Down
Binary file added example/write/~$write.xlsx
Binary file not shown.

0 comments on commit 1b4c720

Please sign in to comment.