浏览代码

chore(utils): rename parameter

v0lp3 4 年之前
父节点
当前提交
fab39b3764
共有 1 个文件被更改,包括 2 次插入2 次删除
  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}
 }