Explorar el Código

chore(utils): rename parameter

v0lp3 hace 4 años
padre
commit
fab39b3764
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/utils.go

+ 2 - 2
src/utils.go

@@ -38,6 +38,6 @@ func getCompressionMode(_mode string) (string, string) {
 	}
 }
 
-func colorToGray(byte byte) color.Gray {
-	return color.Gray{Y: byte}
+func colorToGray(value byte) color.Gray {
+	return color.Gray{Y: value}
 }