goimagehash: Make go report card happy.
This commit is contained in:
parent
b969cb59dc
commit
22bcbf7685
15
imagehash.go
15
imagehash.go
@ -18,11 +18,16 @@ type ImageHash struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Unknown hashKind = iota // Unknown Hash
|
// Unknown is a enum value of the unknown hash.
|
||||||
AHash // Average Hash
|
Unknown hashKind = iota
|
||||||
PHash // Perceptual Hash
|
// AHash is a enum value of the average hash.
|
||||||
DHash // Difference Hash
|
AHash
|
||||||
WHash // Wavelet Hash
|
//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.
|
// NewImageHash function creates a new image hash.
|
||||||
|
Loading…
Reference in New Issue
Block a user