From 3e004d900b103379c2d62657a3070de4a2e8585a Mon Sep 17 00:00:00 2001 From: xuri Date: Fri, 14 Sep 2018 00:58:48 +0800 Subject: [PATCH] Comments style changed. --- cell.go | 1 + chart.go | 1 + col.go | 1 + comment.go | 1 + datavalidation.go | 1 + datavalidation_test.go | 1 + date.go | 1 + excelize.go | 2 ++ file.go | 1 + hsl.go | 6 +----- lib.go | 1 + picture.go | 1 + rows.go | 1 + shape.go | 1 + sheet.go | 1 + sheetpr.go | 1 + sheetview.go | 1 + styles.go | 1 + table.go | 1 + templates.go | 1 + vmlDrawing.go | 1 + xmlChart.go | 1 + xmlComments.go | 1 + xmlContentTypes.go | 1 + xmlDecodeDrawing.go | 1 + xmlDrawing.go | 1 + xmlSharedStrings.go | 1 + xmlStyles.go | 1 + xmlTable.go | 1 + xmlTheme.go | 1 + xmlWorkbook.go | 1 + xmlWorksheet.go | 1 + 32 files changed, 33 insertions(+), 5 deletions(-) diff --git a/cell.go b/cell.go index e1bb91dc..1277a180 100644 --- a/cell.go +++ b/cell.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/chart.go b/chart.go index a84e0f66..5353a329 100644 --- a/chart.go +++ b/chart.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/col.go b/col.go index c7ab9e32..32cda12a 100644 --- a/col.go +++ b/col.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/comment.go b/comment.go index c87e08c8..2bfd785d 100644 --- a/comment.go +++ b/comment.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/datavalidation.go b/datavalidation.go index 69f67b11..5ebd61f9 100644 --- a/datavalidation.go +++ b/datavalidation.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/datavalidation_test.go b/datavalidation_test.go index b9c51ad4..39dd2294 100644 --- a/datavalidation_test.go +++ b/datavalidation_test.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "testing" diff --git a/date.go b/date.go index c67c3a1e..45f3040c 100644 --- a/date.go +++ b/date.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/excelize.go b/excelize.go index 93596d8a..d1f0b7f1 100644 --- a/excelize.go +++ b/excelize.go @@ -6,6 +6,8 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. +// +// See https://xuri.me/excelize for more information about this package. package excelize import ( diff --git a/file.go b/file.go index 582228f6..5bfed392 100644 --- a/file.go +++ b/file.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/hsl.go b/hsl.go index 77946ac3..c30c165a 100644 --- a/hsl.go +++ b/hsl.go @@ -25,11 +25,7 @@ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -// Package excelize providing a set of functions that allow you to write to -// and read from XLSX files. Support reads and writes XLSX file generated by -// Microsoft Excel™ 2007 and later. Support save file without losing original -// charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/lib.go b/lib.go index 14930395..865ee296 100644 --- a/lib.go +++ b/lib.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/picture.go b/picture.go index 16b428f1..8785aaf5 100644 --- a/picture.go +++ b/picture.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/rows.go b/rows.go index 84dc6d8f..5c384c8f 100644 --- a/rows.go +++ b/rows.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/shape.go b/shape.go index dcdf6d9b..ad87712e 100644 --- a/shape.go +++ b/shape.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/sheet.go b/sheet.go index 97bb9b2c..b615ae5e 100644 --- a/sheet.go +++ b/sheet.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/sheetpr.go b/sheetpr.go index 6f77f6f8..e38b64e2 100644 --- a/sheetpr.go +++ b/sheetpr.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize // SheetPrOption is an option of a view of a worksheet. See SetSheetPrOptions(). diff --git a/sheetview.go b/sheetview.go index b3ef4779..e76325c5 100644 --- a/sheetview.go +++ b/sheetview.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "fmt" diff --git a/styles.go b/styles.go index e9da3b31..513fc9b3 100644 --- a/styles.go +++ b/styles.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/table.go b/table.go index e5d8785b..02c89fa5 100644 --- a/table.go +++ b/table.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import ( diff --git a/templates.go b/templates.go index f648fc85..1d0655dc 100644 --- a/templates.go +++ b/templates.go @@ -9,6 +9,7 @@ // // This file contains default templates for XML files we don't yet populated // based on content. + package excelize // XMLHeader define an XML declaration can also contain a standalone declaration. diff --git a/vmlDrawing.go b/vmlDrawing.go index 305a6896..c17dde78 100644 --- a/vmlDrawing.go +++ b/vmlDrawing.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlChart.go b/xmlChart.go index 9dcec1ec..78218a01 100644 --- a/xmlChart.go +++ b/xmlChart.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlComments.go b/xmlComments.go index b3cb575b..9075c887 100644 --- a/xmlComments.go +++ b/xmlComments.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlContentTypes.go b/xmlContentTypes.go index efbca78c..8d09d515 100644 --- a/xmlContentTypes.go +++ b/xmlContentTypes.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlDecodeDrawing.go b/xmlDecodeDrawing.go index 80511403..d21c3f01 100644 --- a/xmlDecodeDrawing.go +++ b/xmlDecodeDrawing.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlDrawing.go b/xmlDrawing.go index e71932b4..6ba7d31d 100644 --- a/xmlDrawing.go +++ b/xmlDrawing.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlSharedStrings.go b/xmlSharedStrings.go index 9fc85799..782ed61a 100644 --- a/xmlSharedStrings.go +++ b/xmlSharedStrings.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlStyles.go b/xmlStyles.go index 67785ed0..7ba43791 100644 --- a/xmlStyles.go +++ b/xmlStyles.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlTable.go b/xmlTable.go index a5d86733..7e155e6d 100644 --- a/xmlTable.go +++ b/xmlTable.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlTheme.go b/xmlTheme.go index 146ca3a9..b4140b6a 100644 --- a/xmlTheme.go +++ b/xmlTheme.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlWorkbook.go b/xmlWorkbook.go index 2e3ab470..f00a0b85 100644 --- a/xmlWorkbook.go +++ b/xmlWorkbook.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml" diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 8868cecf..072ecce6 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -6,6 +6,7 @@ // and read from XLSX files. Support reads and writes XLSX file generated by // Microsoft Excel™ 2007 and later. Support save file without losing original // charts of XLSX. This library needs Go version 1.8 or later. + package excelize import "encoding/xml"