Fix typo on the GoDoc for LoadImageHash. (#35)

The GoDoc incorrectly specified that the LoadImageHash function produces an ExtImageHash. This function produces an ImageHash, so this corrects the typo.
This commit is contained in:
Eric Levine 2019-11-25 21:07:35 -08:00 committed by Dong-hee Na
parent 9343c64188
commit 8be960c20e

View File

@ -95,7 +95,7 @@ func (h *ImageHash) Dump(w io.Writer) error {
return nil return nil
} }
// LoadImageHash method loads a ExtImageHash from io.Reader. // LoadImageHash method loads a ImageHash from io.Reader.
func LoadImageHash(b io.Reader) (*ImageHash, error) { func LoadImageHash(b io.Reader) (*ImageHash, error) {
type E struct { type E struct {
Hash uint64 Hash uint64