From 266b2216fdafae97498f3032e0e79c3a46bd9189 Mon Sep 17 00:00:00 2001 From: Rohan Singh Date: Tue, 1 Mar 2022 22:39:07 -0500 Subject: [PATCH] Relpace harukusan/go-libwebp with tidbyt/go-libwebp (#200) --- encode/encode.go | 2 +- go.mod | 4 +--- go.sum | 2 ++ render/image.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/encode/encode.go b/encode/encode.go index 15690ffed9..ee4f7dfcf5 100644 --- a/encode/encode.go +++ b/encode/encode.go @@ -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" ) diff --git a/go.mod b/go.mod index 9c0d51944f..210ebde5dc 100644 --- a/go.mod +++ b/go.mod @@ -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 @@ -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 @@ -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 diff --git a/go.sum b/go.sum index 39c5d543c5..1531e6c472 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/render/image.go b/render/image.go index b2dbd8600e..bb2f862fe5 100644 --- a/render/image.go +++ b/render/image.go @@ -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