Skip to content

Commit

Permalink
Relpace harukusan/go-libwebp with tidbyt/go-libwebp (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohansingh authored Mar 2, 2022
1 parent b9b8556 commit 266b221
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion encode/encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"image/gif"
"time"

"github.com/harukasan/go-libwebp/webp"
"github.com/pkg/errors"
"github.com/tidbyt/go-libwebp/webp"
"tidbyt.dev/pixlet/render"
)

Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module tidbyt.dev/pixlet

go 1.16

replace github.com/harukasan/go-libwebp => github.com/tidbyt/go-libwebp v0.0.0-20201015173751-7718986fb5f2

require (
github.com/antchfx/xmlquery v1.3.9
github.com/dustin/go-humanize v1.0.0
Expand All @@ -14,7 +12,6 @@ require (
github.com/google/tink/go v1.4.0
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.5.0
github.com/harukasan/go-libwebp v0.0.0-20190703060927-68562c9c99af
github.com/lucasb-eyer/go-colorful v1.2.0
github.com/mitchellh/hashstructure/v2 v2.0.2
github.com/nathan-osman/go-sunrise v1.0.0
Expand All @@ -24,6 +21,7 @@ require (
github.com/qri-io/starlib v0.5.1-0.20211102160121-ae835e29cd41
github.com/spf13/cobra v1.3.0
github.com/stretchr/testify v1.7.0
github.com/tidbyt/go-libwebp v0.0.0-20220302033350-dd1cead28df2
github.com/zachomedia/go-bdf v0.0.0-20210522061406-1a147053be95
go.starlark.net v0.0.0-20220223235035-243c74974e97
golang.org/x/image v0.0.0-20211028202545-6944b10bf410
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/tidbyt/go-libwebp v0.0.0-20201015173751-7718986fb5f2 h1:T/jkZO+VeoP9QPPAidWR89NWUeT4VluF2vMLgmZtSy8=
github.com/tidbyt/go-libwebp v0.0.0-20201015173751-7718986fb5f2/go.mod h1:p1Ify/wlo/z2CCUv0o+4j4lvBvEf1SWO5LYRDmadNY0=
github.com/tidbyt/go-libwebp v0.0.0-20220302033350-dd1cead28df2 h1:X0FYTOmj5qBsrwvVOtBdk7JnE28et4PwBGj8cWuY3f4=
github.com/tidbyt/go-libwebp v0.0.0-20220302033350-dd1cead28df2/go.mod h1:JU6yp7mldR7lmftjHPtaDs+Q8xn7l2tMR1XYx5iJELg=
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
Expand Down
2 changes: 1 addition & 1 deletion render/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
_ "image/jpeg"
_ "image/png"

"github.com/harukasan/go-libwebp/webp"
"github.com/nfnt/resize"
"github.com/tidbyt/go-libwebp/webp"
)

// Image renders the binary image data passed via `src`. Supported
Expand Down

0 comments on commit 266b221

Please sign in to comment.