mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-18 11:12:10 +02:00
Properly name go module & update docs
This commit is contained in:
parent
26563be393
commit
06c7df1e14
@ -8,6 +8,8 @@
|
||||
- Fix loadind BMP stored in ICO.
|
||||
- Fix ambiguous HEIC magic bytes (MP4 videos has been detected as HEIC).
|
||||
- Fix build with libvips < 8.6.
|
||||
- Fix build with Go 1.14.
|
||||
- Fix go module naming. Use `github.com/imgproxy/imgproxy/v2` to build imgproxy from source.
|
||||
|
||||
## [2.10.0] - 2020-02-13
|
||||
### Added
|
||||
|
@ -91,7 +91,7 @@ And finally, install imgproxy itself:
|
||||
```bash
|
||||
GO111MODULE=on \
|
||||
CGO_LDFLAGS_ALLOW="-s|-w" \
|
||||
go get -f -u github.com/imgproxy/imgproxy
|
||||
go get -f -u github.com/imgproxy/imgproxy/v2
|
||||
```
|
||||
|
||||
### macOS + Homebrew
|
||||
@ -102,5 +102,5 @@ GO111MODULE=on \
|
||||
PKG_CONFIG_PATH="$(brew --prefix libffi)/lib/pkgconfig" \
|
||||
CGO_LDFLAGS_ALLOW="-s|-w" \
|
||||
CGO_CFLAGS_ALLOW="-Xpreprocessor" \
|
||||
go get -f -u github.com/imgproxy/imgproxy
|
||||
go get -f -u github.com/imgproxy/imgproxy/v2
|
||||
```
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/imgproxy/imgproxy/imagemeta"
|
||||
"github.com/imgproxy/imgproxy/v2/imagemeta"
|
||||
)
|
||||
|
||||
var (
|
||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module github.com/imgproxy/imgproxy
|
||||
module github.com/imgproxy/imgproxy/v2
|
||||
|
||||
go 1.11
|
||||
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"math"
|
||||
"runtime"
|
||||
|
||||
"github.com/imgproxy/imgproxy/imagemeta"
|
||||
"github.com/imgproxy/imgproxy/v2/imagemeta"
|
||||
"golang.org/x/sync/errgroup"
|
||||
)
|
||||
|
||||
|
@ -12,7 +12,7 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/imgproxy/imgproxy/structdiff"
|
||||
"github.com/imgproxy/imgproxy/v2/structdiff"
|
||||
)
|
||||
|
||||
type urlOption struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user