From d9f4a2f154f8d4242572a2fcebdf76b91ed86348 Mon Sep 17 00:00:00 2001 From: Josh Fyne Date: Thu, 16 Feb 2017 13:25:55 -0500 Subject: Standardize input and output --- lib.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib.go') diff --git a/lib.go b/lib.go index c3767e3..8c56f1b 100644 --- a/lib.go +++ b/lib.go @@ -8,14 +8,6 @@ import ( "math" ) -// ReadZip takes a pointer to a zip.ReadCloser and returns a xlsx.File struct -// populated with its contents. In most cases ReadZip is not used directly, but -// is called internally by OpenFile. -func ReadZip(f *zip.ReadCloser) (map[string]string, int, error) { - defer f.Close() - return ReadZipReader(&f.Reader) -} - // ReadZipReader can be used to read an XLSX in memory without touching the // filesystem. func ReadZipReader(r *zip.Reader) (map[string]string, int, error) { -- cgit v1.2.1