Files
gocv/contrib/img_hash_string.go
mh-cbon d624e2c00e add String method (#552)
* all: add String() method for improved log output
2019-12-08 14:46:32 +01:00

12 lines
208 B
Go

package contrib
func (c BlockMeanHashMode) String() string {
switch c {
case BlockMeanHashMode0:
return "block-mean-hash-mode0"
case BlockMeanHashMode1:
return "block-mean-hash-mode1"
}
return ""
}