Selaa lähdekoodia

gofmt -s -w .

Tormod Erevik Lea 10 vuotta sitten
vanhempi
commit
d5c87ed590
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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{}
 }