From 22bcbf76859c2bceae4d096ae60cb74d6f99baff Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Fri, 4 Aug 2017 00:57:27 +0900 Subject: [PATCH] goimagehash: Make go report card happy. --- imagehash.go | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/imagehash.go b/imagehash.go index 41435aa..948ae58 100644 --- a/imagehash.go +++ b/imagehash.go @@ -18,11 +18,16 @@ type ImageHash struct { } const ( - Unknown hashKind = iota // Unknown Hash - AHash // Average Hash - PHash // Perceptual Hash - DHash // Difference Hash - WHash // Wavelet Hash + // Unknown is a enum value of the unknown hash. + Unknown hashKind = iota + // AHash is a enum value of the average hash. + AHash + //PHash is a enum value of the perceptual hash. + PHash + // DHash is a enum value of the difference hash. + DHash + // WHash is a enum value of the wavelet hash. + WHash ) // NewImageHash function creates a new image hash.