Browse Source

gofmt -s -w .

Tormod Erevik Lea 9 years ago
parent
commit
d5c87ed590
2 changed files with 2 additions and 2 deletions
  1. 1 1
      fuzzy_test.go
  2. 1 1
      xmlStyle.go

+ 1 - 1
fuzzy_test.go

@@ -108,7 +108,7 @@ func variationsXML(f *zip.File) chan tokenchange {
 
 	go func() {
 		//Over every token we want to break
-		for TokenToBreak, _ := range tokenList {
+		for TokenToBreak := range tokenList {
 			//Get the ways we can break that token
 			for _, brokenToken := range getTokenVariations(tokenList[TokenToBreak]) {
 				var buf bytes.Buffer

+ 1 - 1
xmlStyle.go

@@ -104,7 +104,7 @@ func (styles *xlsxStyleSheet) reset() {
 	styles.CellStyleXfs = xlsxCellStyleXfs{}
 
 	// add default xf
-	styles.CellXfs = xlsxCellXfs{Count: 1, Xf: []xlsxXf{xlsxXf{}}}
+	styles.CellXfs = xlsxCellXfs{Count: 1, Xf: []xlsxXf{{}}}
 	styles.NumFmts = xlsxNumFmts{}
 }