From 6130495e06455cd86d89520868c238606f55bbd6 Mon Sep 17 00:00:00 2001 From: Liu Ming Date: Fri, 30 Oct 2015 16:03:44 +0800 Subject: [PATCH] remove unnecessary log output --- workbook.go | 2 -- worksheet.go | 4 ---- 2 files changed, 6 deletions(-) diff --git a/workbook.go b/workbook.go index 0abd21f..b0df3a8 100644 --- a/workbook.go +++ b/workbook.go @@ -4,7 +4,6 @@ import ( "bytes" "encoding/binary" "io" - "log" "unicode/utf16" ) @@ -136,7 +135,6 @@ func (wb *WorkBook) parseBof(buf io.ReadSeeker, b *bof, pre *bof, offset_pre int binary.Read(buf_item, binary.LittleEndian, &f.Head) f.str = wb.get_string(buf_item, f.Head.Size) wb.addFormat(f) - log.Println(f.Head.Index, f.str) } return } diff --git a/worksheet.go b/worksheet.go index 1d530b1..50b2cf4 100644 --- a/worksheet.go +++ b/worksheet.go @@ -4,7 +4,6 @@ import ( "encoding/binary" "fmt" "io" - "log" "unicode/utf16" ) @@ -126,7 +125,6 @@ func (w *WorkSheet) parseBof(buf io.ReadSeeker, b *bof, pre *bof) *bof { buf.Seek(2, 1) hy.ExtendedFilePath = b.utf16String(buf, count/2+1) } - log.Println(hy) } } if flag&0x8 != 0 { @@ -139,10 +137,8 @@ func (w *WorkSheet) parseBof(buf io.ReadSeeker, b *bof, pre *bof) *bof { w.addRange(&hy.CellRange, &hy) case 0x809: - log.Println("sheet start") buf.Seek(int64(b.Size), 1) case 0xa: - log.Println("sheet end") default: // log.Printf("Unknow %X,%d\n", b.Id, b.Size) buf.Seek(int64(b.Size), 1)