Testing files updated
This commit is contained in:
parent
1fc4bc52fb
commit
0acb3ef968
10
README_zh.md
10
README_zh.md
|
@ -20,7 +20,7 @@ Excelize 是 Go 语言编写的用于操作 Office Excel 文档类库,基于 E
|
|||
### 安装
|
||||
|
||||
```bash
|
||||
go get github.com/360EntSecGroup-Skylar/excelize/v2
|
||||
go get github.com/360EntSecGroup-Skylar/excelize
|
||||
```
|
||||
|
||||
### 创建 Excel 文档
|
||||
|
@ -33,7 +33,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -63,7 +63,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -102,7 +102,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -140,7 +140,7 @@ import (
|
|||
_ "image/jpeg"
|
||||
_ "image/png"
|
||||
|
||||
"github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -101,9 +101,8 @@ func TestOverflowNumericCell(t *testing.T) {
|
|||
if !assert.NoError(t, err) {
|
||||
t.FailNow()
|
||||
}
|
||||
// source of xlsx file is Russia, don`t touch it, elsewhere bug not reproduced
|
||||
val, err := f.GetCellValue("Лист1", "A1")
|
||||
val, err := f.GetCellValue("Sheet1", "A1")
|
||||
assert.NoError(t, err)
|
||||
// GOARCH=amd64 - all ok; GOARCH=386 - actual : "-2147483648"
|
||||
// GOARCH=amd64 - all ok; GOARCH=386 - actual: "-2147483648"
|
||||
assert.Equal(t, "8595602512225", val, "A1 should be 8595602512225")
|
||||
}
|
||||
|
|
2
chart.go
2
chart.go
|
@ -543,7 +543,7 @@ func parseFormatChartSet(formatSet string) (*formatChart, error) {
|
|||
// import (
|
||||
// "fmt"
|
||||
//
|
||||
// "github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
// "github.com/360EntSecGroup-Skylar/excelize"
|
||||
// )
|
||||
//
|
||||
// func main() {
|
||||
|
|
|
@ -51,7 +51,7 @@ func parseFormatPictureSet(formatSet string) (*formatPicture, error) {
|
|||
// _ "image/jpeg"
|
||||
// _ "image/png"
|
||||
//
|
||||
// "github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
// "github.com/360EntSecGroup-Skylar/excelize"
|
||||
// )
|
||||
//
|
||||
// func main() {
|
||||
|
@ -111,7 +111,7 @@ func (f *File) AddPicture(sheet, cell, picture, format string) error {
|
|||
// _ "image/jpeg"
|
||||
// "io/ioutil"
|
||||
//
|
||||
// "github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
// "github.com/360EntSecGroup-Skylar/excelize"
|
||||
// )
|
||||
//
|
||||
// func main() {
|
||||
|
|
|
@ -6,7 +6,8 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
|
||||
"github.com/mohae/deepcopy"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"github.com/mohae/deepcopy"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
var _ = []excelize.SheetPrOption{
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/360EntSecGroup-Skylar/excelize/v2"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
var _ = []excelize.SheetViewOption{
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue