From 192af02a40cc745d967be1c96fcc52569ca8e8df Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Fri, 2 Sep 2016 11:54:52 +0800 Subject: Format code with golint rules --- xmlWorkbook.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xmlWorkbook.go') diff --git a/xmlWorkbook.go b/xmlWorkbook.go index 3c63d85..c9a0434 100644 --- a/xmlWorkbook.go +++ b/xmlWorkbook.go @@ -23,7 +23,7 @@ type xlsxWorkbookRels struct { // xmlxWorkbookRelation maps sheet id and xl/worksheets/sheet%d.xml type xlsxWorkbookRelation struct { - Id string `xml:",attr"` + ID string `xml:"Id,attr"` Target string `xml:",attr"` Type string `xml:",attr"` } @@ -118,8 +118,8 @@ type xlsxSheets struct { // as I need. type xlsxSheet struct { Name string `xml:"name,attr,omitempty"` - SheetId string `xml:"sheetId,attr,omitempty"` - Id string `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr,omitempty"` + SheetID string `xml:"sheetId,attr,omitempty"` + ID string `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr,omitempty"` State string `xml:"state,attr,omitempty"` } @@ -161,7 +161,7 @@ type xlsxDefinedName struct { // currently I have not checked it for completeness - it does as much // as I need. type xlsxCalcPr struct { - CalcId string `xml:"calcId,attr,omitempty"` + CalcID string `xml:"calcId,attr,omitempty"` IterateCount int `xml:"iterateCount,attr,omitempty"` RefMode string `xml:"refMode,attr,omitempty"` Iterate bool `xml:"iterate,attr,omitempty"` -- cgit v1.2.1