0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00

change envy package to avoid replace directive

This commit is contained in:
Will Norris 2021-10-12 20:26:12 -07:00 committed by GitHub
parent 5f85069fde
commit 66818a786d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 8 deletions

View file

@ -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

4
go.mod
View file

@ -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

View file

@ -1,3 +0,0 @@
module willnorris.com/go/imageproxy/third_party/envy
go 1.12