Explorar o código

Merge pull request #202 from tormoder/gofmt

gofmt
Geoffrey J. Teale %!s(int64=9) %!d(string=hai) anos
pai
achega
75499a5947
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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{}
 }