diff options
author | Ri Xu <xuri.me@gmail.com> | 2016-09-02 11:54:52 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2016-09-02 11:54:52 +0800 |
commit | 192af02a40cc745d967be1c96fcc52569ca8e8df (patch) | |
tree | 7350c2c152b6df596759c214705f7a00eb30b573 /xmlWorkbook.go | |
parent | 0a0a36bafd160752c2af914ab3bdb1d28665ebe3 (diff) |
Format code with golint rules
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r-- | xmlWorkbook.go | 8 |
1 files changed, 4 insertions, 4 deletions
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"` |