From 0b8019bc1e7e93d3bfe2955ea3a7720df53de5d0 Mon Sep 17 00:00:00 2001 From: simon987 Date: Fri, 27 Dec 2019 13:34:47 -0500 Subject: [PATCH] update example --- README.md | 2 +- examples/phash.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2073b5c..722197d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ for `fastimagehash-go` to compile. package main import ( - "github.com/simon987/fastimagehash" + "github.com/simon987/fastimagehash-go" "fmt" ) diff --git a/examples/phash.go b/examples/phash.go index 6f8681f..e29accf 100644 --- a/examples/phash.go +++ b/examples/phash.go @@ -1,12 +1,12 @@ package main import ( - "fastimagehash" "fmt" + "github.com/simon987/fastimagehash-go" ) func main() { - hash, ret := fastimagehash.PHashFile("/path/to/image.jpg", 8, 4) + hash, ret := fastimagehash.PHashFile("/path/to/image.jpg", 8, 4) if ret == fastimagehash.Ok { fmt.Printf("%s (%d)\n", hash.ToHexStringReversed(), ret)