You've already forked imgproxy
mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-12-05 23:28:10 +02:00
Properly name go module & update docs
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
- Fix loadind BMP stored in ICO.
|
- Fix loadind BMP stored in ICO.
|
||||||
- Fix ambiguous HEIC magic bytes (MP4 videos has been detected as HEIC).
|
- Fix ambiguous HEIC magic bytes (MP4 videos has been detected as HEIC).
|
||||||
- Fix build with libvips < 8.6.
|
- 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
|
## [2.10.0] - 2020-02-13
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ And finally, install imgproxy itself:
|
|||||||
```bash
|
```bash
|
||||||
GO111MODULE=on \
|
GO111MODULE=on \
|
||||||
CGO_LDFLAGS_ALLOW="-s|-w" \
|
CGO_LDFLAGS_ALLOW="-s|-w" \
|
||||||
go get -f -u github.com/imgproxy/imgproxy
|
go get -f -u github.com/imgproxy/imgproxy/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### macOS + Homebrew
|
### macOS + Homebrew
|
||||||
@@ -102,5 +102,5 @@ GO111MODULE=on \
|
|||||||
PKG_CONFIG_PATH="$(brew --prefix libffi)/lib/pkgconfig" \
|
PKG_CONFIG_PATH="$(brew --prefix libffi)/lib/pkgconfig" \
|
||||||
CGO_LDFLAGS_ALLOW="-s|-w" \
|
CGO_LDFLAGS_ALLOW="-s|-w" \
|
||||||
CGO_CFLAGS_ALLOW="-Xpreprocessor" \
|
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"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/imgproxy/imgproxy/imagemeta"
|
"github.com/imgproxy/imgproxy/v2/imagemeta"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
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
|
go 1.11
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
"math"
|
"math"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
||||||
"github.com/imgproxy/imgproxy/imagemeta"
|
"github.com/imgproxy/imgproxy/v2/imagemeta"
|
||||||
"golang.org/x/sync/errgroup"
|
"golang.org/x/sync/errgroup"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/imgproxy/imgproxy/structdiff"
|
"github.com/imgproxy/imgproxy/v2/structdiff"
|
||||||
)
|
)
|
||||||
|
|
||||||
type urlOption struct {
|
type urlOption struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user