Parcourir la source

Merge pull request #202 from tormoder/gofmt

gofmt
Geoffrey J. Teale il y a 10 ans
Parent
commit
75499a5947
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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() {
 	go func() {
 		//Over every token we want to break
 		//Over every token we want to break
-		for TokenToBreak, _ := range tokenList {
+		for TokenToBreak := range tokenList {
 			//Get the ways we can break that token
 			//Get the ways we can break that token
 			for _, brokenToken := range getTokenVariations(tokenList[TokenToBreak]) {
 			for _, brokenToken := range getTokenVariations(tokenList[TokenToBreak]) {
 				var buf bytes.Buffer
 				var buf bytes.Buffer

+ 1 - 1
xmlStyle.go

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