20
0

Merge 643b32559d33efabb7ed56c950c6151368e5e56c into d1d6f84447510f31419fb325a9f96b657b68f0d4

This commit is contained in:
joeekee 2018-04-16 08:52:37 +00:00 committed by GitHub
commit 5b150f80e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
xls.go
View File

@ -3,7 +3,7 @@ package xls
import (
"io"
"os"
"log"
"github.com/extrame/ole2"
)
@ -51,6 +51,8 @@ func OpenReader(reader io.ReadSeeker, charset string) (wb *WorkBook, err error)
if book != nil {
wb = newWorkBookFromOle2(ole.OpenFile(book, root))
return
} else {
log.Panic("book == nil")
}
}
}