diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-01-02 19:15:08 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-01-02 19:15:08 -0800 |
commit | c39f2e1a8d2de6d412bcc673d29eb0f7a2d1f5f7 (patch) | |
tree | 950efc2155037ce055e1aae334e160812b0ee38f /reader/icon | |
parent | 3c3f397bf57e232201fccd64bad2820e6ade567a (diff) |
Rename helper packages
Diffstat (limited to 'reader/icon')
-rw-r--r-- | reader/icon/finder.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reader/icon/finder.go b/reader/icon/finder.go index 977a089..2e7cb16 100644 --- a/reader/icon/finder.go +++ b/reader/icon/finder.go @@ -11,7 +11,7 @@ import ( "io/ioutil" "strings" - "github.com/miniflux/miniflux/helper" + "github.com/miniflux/miniflux/crypto" "github.com/miniflux/miniflux/http" "github.com/miniflux/miniflux/logger" "github.com/miniflux/miniflux/model" @@ -107,7 +107,7 @@ func downloadIcon(iconURL string) (*model.Icon, error) { } icon := &model.Icon{ - Hash: helper.HashFromBytes(body), + Hash: crypto.HashFromBytes(body), MimeType: response.ContentType, Content: body, } @@ -146,7 +146,7 @@ func parseImageDataURL(value string) (*model.Icon, error) { } icon := &model.Icon{ - Hash: helper.HashFromBytes(blob), + Hash: crypto.HashFromBytes(blob), Content: blob, MimeType: mimeType, } |