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:
parent
5f85069fde
commit
66818a786d
3 changed files with 1 additions and 8 deletions
|
@ -23,11 +23,11 @@ import (
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/gregjones/httpcache/diskcache"
|
"github.com/gregjones/httpcache/diskcache"
|
||||||
rediscache "github.com/gregjones/httpcache/redis"
|
rediscache "github.com/gregjones/httpcache/redis"
|
||||||
"github.com/jamiealquiza/envy"
|
|
||||||
"github.com/peterbourgon/diskv"
|
"github.com/peterbourgon/diskv"
|
||||||
"willnorris.com/go/imageproxy"
|
"willnorris.com/go/imageproxy"
|
||||||
"willnorris.com/go/imageproxy/internal/gcscache"
|
"willnorris.com/go/imageproxy/internal/gcscache"
|
||||||
"willnorris.com/go/imageproxy/internal/s3cache"
|
"willnorris.com/go/imageproxy/internal/s3cache"
|
||||||
|
"willnorris.com/go/imageproxy/third_party/envy"
|
||||||
)
|
)
|
||||||
|
|
||||||
const defaultMemorySize = 100
|
const defaultMemorySize = 100
|
||||||
|
|
4
go.mod
4
go.mod
|
@ -15,7 +15,6 @@ require (
|
||||||
github.com/gomodule/redigo v2.0.0+incompatible
|
github.com/gomodule/redigo v2.0.0+incompatible
|
||||||
github.com/gorilla/mux v1.8.0
|
github.com/gorilla/mux v1.8.0
|
||||||
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
|
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/muesli/smartcrop v0.3.0
|
||||||
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
|
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
|
||||||
github.com/peterbourgon/diskv v0.0.0-20171120014656-2973218375c3
|
github.com/peterbourgon/diskv v0.0.0-20171120014656-2973218375c3
|
||||||
|
@ -25,7 +24,4 @@ require (
|
||||||
willnorris.com/go/gifresize v1.0.0
|
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
|
go 1.13
|
||||||
|
|
3
third_party/envy/go.mod
vendored
3
third_party/envy/go.mod
vendored
|
@ -1,3 +0,0 @@
|
||||||
module willnorris.com/go/imageproxy/third_party/envy
|
|
||||||
|
|
||||||
go 1.12
|
|
Loading…
Reference in a new issue