diff --git a/cmd/imageproxy/main.go b/cmd/imageproxy/main.go index a6e63d6..2c9ce5d 100644 --- a/cmd/imageproxy/main.go +++ b/cmd/imageproxy/main.go @@ -23,11 +23,11 @@ import ( "github.com/gorilla/mux" "github.com/gregjones/httpcache/diskcache" rediscache "github.com/gregjones/httpcache/redis" - "github.com/jamiealquiza/envy" "github.com/peterbourgon/diskv" "willnorris.com/go/imageproxy" "willnorris.com/go/imageproxy/internal/gcscache" "willnorris.com/go/imageproxy/internal/s3cache" + "willnorris.com/go/imageproxy/third_party/envy" ) const defaultMemorySize = 100 diff --git a/go.mod b/go.mod index 8b6b5ed..125fd69 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,6 @@ require ( github.com/gomodule/redigo v2.0.0+incompatible github.com/gorilla/mux v1.8.0 github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 - github.com/jamiealquiza/envy v1.1.0 github.com/muesli/smartcrop v0.3.0 github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect github.com/peterbourgon/diskv v0.0.0-20171120014656-2973218375c3 @@ -25,7 +24,4 @@ require ( willnorris.com/go/gifresize v1.0.0 ) -// local copy of envy package without cobra support -replace github.com/jamiealquiza/envy => ./third_party/envy - go 1.13 diff --git a/third_party/envy/go.mod b/third_party/envy/go.mod deleted file mode 100644 index 254359f..0000000 --- a/third_party/envy/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module willnorris.com/go/imageproxy/third_party/envy - -go 1.12