summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2016-10-23 16:07:57 +0800
committerRi Xu <xuri.me@gmail.com>2016-10-23 16:07:57 +0800
commit1a2570b873030458554d0c689e5b00ba16a8f110 (patch)
treef6efd9435ae5b6c55c185c7a8b266fcb38e657c7 /README.md
parent75abc628fe41bc67c787f79103c8d72e539a9fb2 (diff)
Update go test case and update readme.
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 4 insertions, 8 deletions
diff --git a/README.md b/README.md
index ef6f7ed..3d578c0 100644
--- a/README.md
+++ b/README.md
@@ -31,16 +31,12 @@ package main
import (
"fmt"
"os"
-
+
"github.com/Luxurioust/excelize"
)
func main() {
- xlsx, err := excelize.CreateFile()
- if err != nil {
- fmt.Println(err)
- os.Exit(1)
- }
+ xlsx := excelize.CreateFile()
xlsx.NewSheet(2, "Sheet2")
xlsx.NewSheet(3, "Sheet3")
xlsx.SetCellInt("Sheet2", "A23", 10)
@@ -63,7 +59,7 @@ package main
import (
"fmt"
"os"
-
+
"github.com/Luxurioust/excelize"
)
@@ -95,7 +91,7 @@ package main
import (
"fmt"
"os"
-
+
"github.com/Luxurioust/excelize"
)