Use glide for dependency managemment
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
||||
bin/
|
||||
imgproxy
|
||||
config.yml
|
||||
|
||||
@@ -43,7 +43,7 @@ func absPathToFile(path string) string {
|
||||
|
||||
func init() {
|
||||
cpath := flag.String(
|
||||
"config", "../config.yml", "path to configuration file",
|
||||
"config", "./config.yml", "path to configuration file",
|
||||
)
|
||||
flag.Parse()
|
||||
|
||||
|
||||
10
glide.lock
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
hash: de73486dba2fd32ca4e577ba7baa1552e33431fa2a88c1f34ba9b7af77e9c75b
|
||||
updated: 2017-06-20T17:49:53.147746484+03:00
|
||||
imports:
|
||||
- name: github.com/h2non/bimg
|
||||
version: 45f8993550e71ee7b8001d40c681c6c9fa822357
|
||||
- name: github.com/tj/go-debug
|
||||
version: ff4a55a20a86994118644bbddc6a216da193cc13
|
||||
- name: gopkg.in/yaml.v2
|
||||
version: cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
|
||||
testImports: []
|
||||
5
glide.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
package: github.com/DarthSim/imgproxy
|
||||
import:
|
||||
- package: github.com/h2non/bimg
|
||||
version: ~1.0.9
|
||||
- package: gopkg.in/yaml.v2
|
||||
0
_vendor/src/github.com/h2non/bimg/LICENSE → vendor/github.com/h2non/bimg/LICENSE
generated
vendored
2
_vendor/src/github.com/h2non/bimg/README.md → vendor/github.com/h2non/bimg/README.md
generated
vendored
@@ -42,7 +42,7 @@ If you're using `gopkg.in`, you can still rely in the `v0` without worrying abou
|
||||
- Zoom
|
||||
- Thumbnail
|
||||
- Extract area
|
||||
- Watermark (using text or image)
|
||||
- Watermark (text only)
|
||||
- Gaussian blur effect
|
||||
- Custom output color space (RGB, grayscale...)
|
||||
- Format conversion (with additional quality/compression settings)
|
||||
0
_vendor/src/github.com/h2non/bimg/file.go → vendor/github.com/h2non/bimg/file.go
generated
vendored
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 810 KiB After Width: | Height: | Size: 810 KiB |
|
Before Width: | Height: | Size: 635 KiB After Width: | Height: | Size: 635 KiB |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 604 KiB After Width: | Height: | Size: 604 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 2.9 MiB |