소스 검색

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}
 }