瀏覽代碼

Use glide for dependency managemment

DarthSim 8 年之前
父節點
當前提交
a7da9207be
共有 70 個文件被更改,包括 18 次插入3 次删除
  1. 1 1
      .gitignore
  2. 1 1
      config.go
  3. 10 0
      glide.lock
  4. 5 0
      glide.yaml
  5. 0 0
      vendor/github.com/h2non/bimg/.editorconfig
  6. 0 0
      vendor/github.com/h2non/bimg/.gitignore
  7. 0 0
      vendor/github.com/h2non/bimg/.travis.yml
  8. 0 0
      vendor/github.com/h2non/bimg/History.md
  9. 0 0
      vendor/github.com/h2non/bimg/LICENSE
  10. 1 1
      vendor/github.com/h2non/bimg/README.md
  11. 0 0
      vendor/github.com/h2non/bimg/file.go
  12. 0 0
      vendor/github.com/h2non/bimg/file_test.go
  13. 0 0
      vendor/github.com/h2non/bimg/fixtures/corrupt.jpg
  14. 0 0
      vendor/github.com/h2non/bimg/fixtures/northern_cardinal_bird.jpg
  15. 0 0
      vendor/github.com/h2non/bimg/fixtures/test.gif
  16. 0 0
      vendor/github.com/h2non/bimg/fixtures/test.jp2
  17. 0 0
      vendor/github.com/h2non/bimg/fixtures/test.jpg
  18. 0 0
      vendor/github.com/h2non/bimg/fixtures/test.pdf
  19. 0 0
      vendor/github.com/h2non/bimg/fixtures/test.png
  20. 0 0
      vendor/github.com/h2non/bimg/fixtures/test.svg
  21. 0 0
      vendor/github.com/h2non/bimg/fixtures/test.webp
  22. 0 0
      vendor/github.com/h2non/bimg/fixtures/test_gif.jpg
  23. 0 0
      vendor/github.com/h2non/bimg/fixtures/test_icc_prophoto.jpg
  24. 0 0
      vendor/github.com/h2non/bimg/fixtures/test_issue.jpg
  25. 0 0
      vendor/github.com/h2non/bimg/fixtures/test_pdf.jpg
  26. 0 0
      vendor/github.com/h2non/bimg/fixtures/test_square.jpg
  27. 0 0
      vendor/github.com/h2non/bimg/fixtures/test_svg.jpg
  28. 0 0
      vendor/github.com/h2non/bimg/fixtures/transparent.png
  29. 0 0
      vendor/github.com/h2non/bimg/fixtures/vertical.jpg
  30. 0 0
      vendor/github.com/h2non/bimg/image.go
  31. 0 0
      vendor/github.com/h2non/bimg/image_test.go
  32. 0 0
      vendor/github.com/h2non/bimg/metadata.go
  33. 0 0
      vendor/github.com/h2non/bimg/metadata_test.go
  34. 0 0
      vendor/github.com/h2non/bimg/options.go
  35. 0 0
      vendor/github.com/h2non/bimg/preinstall.sh
  36. 0 0
      vendor/github.com/h2non/bimg/resize.go
  37. 0 0
      vendor/github.com/h2non/bimg/resize_test.go
  38. 0 0
      vendor/github.com/h2non/bimg/type.go
  39. 0 0
      vendor/github.com/h2non/bimg/type_test.go
  40. 0 0
      vendor/github.com/h2non/bimg/version.go
  41. 0 0
      vendor/github.com/h2non/bimg/vips.go
  42. 0 0
      vendor/github.com/h2non/bimg/vips.h
  43. 0 0
      vendor/github.com/h2non/bimg/vips_test.go
  44. 0 0
      vendor/github.com/tj/go-debug/History.md
  45. 0 0
      vendor/github.com/tj/go-debug/Makefile
  46. 0 0
      vendor/github.com/tj/go-debug/Readme.md
  47. 0 0
      vendor/github.com/tj/go-debug/debug.go
  48. 0 0
      vendor/github.com/tj/go-debug/debug_test.go
  49. 0 0
      vendor/github.com/tj/go-debug/example/multiple.go
  50. 0 0
      vendor/github.com/tj/go-debug/example/single.go
  51. 0 0
      vendor/gopkg.in/yaml.v2/.travis.yml
  52. 0 0
      vendor/gopkg.in/yaml.v2/LICENSE
  53. 0 0
      vendor/gopkg.in/yaml.v2/LICENSE.libyaml
  54. 0 0
      vendor/gopkg.in/yaml.v2/README.md
  55. 0 0
      vendor/gopkg.in/yaml.v2/apic.go
  56. 0 0
      vendor/gopkg.in/yaml.v2/decode.go
  57. 0 0
      vendor/gopkg.in/yaml.v2/decode_test.go
  58. 0 0
      vendor/gopkg.in/yaml.v2/emitterc.go
  59. 0 0
      vendor/gopkg.in/yaml.v2/encode.go
  60. 0 0
      vendor/gopkg.in/yaml.v2/encode_test.go
  61. 0 0
      vendor/gopkg.in/yaml.v2/parserc.go
  62. 0 0
      vendor/gopkg.in/yaml.v2/readerc.go
  63. 0 0
      vendor/gopkg.in/yaml.v2/resolve.go
  64. 0 0
      vendor/gopkg.in/yaml.v2/scannerc.go
  65. 0 0
      vendor/gopkg.in/yaml.v2/sorter.go
  66. 0 0
      vendor/gopkg.in/yaml.v2/suite_test.go
  67. 0 0
      vendor/gopkg.in/yaml.v2/writerc.go
  68. 0 0
      vendor/gopkg.in/yaml.v2/yaml.go
  69. 0 0
      vendor/gopkg.in/yaml.v2/yamlh.go
  70. 0 0
      vendor/gopkg.in/yaml.v2/yamlprivateh.go

+ 1 - 1
.gitignore

@@ -1,2 +1,2 @@
-bin/
+imgproxy
 config.yml

+ 1 - 1
config.go

@@ -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 - 0
glide.lock

@@ -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 - 0
glide.yaml

@@ -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 - 0
_vendor/src/github.com/h2non/bimg/.editorconfig → vendor/github.com/h2non/bimg/.editorconfig


+ 0 - 0
_vendor/src/github.com/h2non/bimg/.gitignore → vendor/github.com/h2non/bimg/.gitignore


+ 0 - 0
_vendor/src/github.com/h2non/bimg/.travis.yml → vendor/github.com/h2non/bimg/.travis.yml


+ 0 - 0
_vendor/src/github.com/h2non/bimg/History.md → vendor/github.com/h2non/bimg/History.md


+ 0 - 0
_vendor/src/github.com/h2non/bimg/LICENSE → vendor/github.com/h2non/bimg/LICENSE


+ 1 - 1
_vendor/src/github.com/h2non/bimg/README.md → vendor/github.com/h2non/bimg/README.md

@@ -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 - 0
_vendor/src/github.com/h2non/bimg/file.go → vendor/github.com/h2non/bimg/file.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/file_test.go → vendor/github.com/h2non/bimg/file_test.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/corrupt.jpg → vendor/github.com/h2non/bimg/fixtures/corrupt.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/northern_cardinal_bird.jpg → vendor/github.com/h2non/bimg/fixtures/northern_cardinal_bird.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test.gif → vendor/github.com/h2non/bimg/fixtures/test.gif


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test.jp2 → vendor/github.com/h2non/bimg/fixtures/test.jp2


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test.jpg → vendor/github.com/h2non/bimg/fixtures/test.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test.pdf → vendor/github.com/h2non/bimg/fixtures/test.pdf


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test.png → vendor/github.com/h2non/bimg/fixtures/test.png


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test.svg → vendor/github.com/h2non/bimg/fixtures/test.svg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test.webp → vendor/github.com/h2non/bimg/fixtures/test.webp


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test_gif.jpg → vendor/github.com/h2non/bimg/fixtures/test_gif.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test_icc_prophoto.jpg → vendor/github.com/h2non/bimg/fixtures/test_icc_prophoto.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test_issue.jpg → vendor/github.com/h2non/bimg/fixtures/test_issue.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test_pdf.jpg → vendor/github.com/h2non/bimg/fixtures/test_pdf.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test_square.jpg → vendor/github.com/h2non/bimg/fixtures/test_square.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/test_svg.jpg → vendor/github.com/h2non/bimg/fixtures/test_svg.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/transparent.png → vendor/github.com/h2non/bimg/fixtures/transparent.png


+ 0 - 0
_vendor/src/github.com/h2non/bimg/fixtures/vertical.jpg → vendor/github.com/h2non/bimg/fixtures/vertical.jpg


+ 0 - 0
_vendor/src/github.com/h2non/bimg/image.go → vendor/github.com/h2non/bimg/image.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/image_test.go → vendor/github.com/h2non/bimg/image_test.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/metadata.go → vendor/github.com/h2non/bimg/metadata.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/metadata_test.go → vendor/github.com/h2non/bimg/metadata_test.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/options.go → vendor/github.com/h2non/bimg/options.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/preinstall.sh → vendor/github.com/h2non/bimg/preinstall.sh


+ 0 - 0
_vendor/src/github.com/h2non/bimg/resize.go → vendor/github.com/h2non/bimg/resize.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/resize_test.go → vendor/github.com/h2non/bimg/resize_test.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/type.go → vendor/github.com/h2non/bimg/type.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/type_test.go → vendor/github.com/h2non/bimg/type_test.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/version.go → vendor/github.com/h2non/bimg/version.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/vips.go → vendor/github.com/h2non/bimg/vips.go


+ 0 - 0
_vendor/src/github.com/h2non/bimg/vips.h → vendor/github.com/h2non/bimg/vips.h


+ 0 - 0
_vendor/src/github.com/h2non/bimg/vips_test.go → vendor/github.com/h2non/bimg/vips_test.go


+ 0 - 0
_vendor/src/github.com/tj/go-debug/History.md → vendor/github.com/tj/go-debug/History.md


+ 0 - 0
_vendor/src/github.com/tj/go-debug/Makefile → vendor/github.com/tj/go-debug/Makefile


+ 0 - 0
_vendor/src/github.com/tj/go-debug/Readme.md → vendor/github.com/tj/go-debug/Readme.md


+ 0 - 0
_vendor/src/github.com/tj/go-debug/debug.go → vendor/github.com/tj/go-debug/debug.go


+ 0 - 0
_vendor/src/github.com/tj/go-debug/debug_test.go → vendor/github.com/tj/go-debug/debug_test.go


+ 0 - 0
_vendor/src/github.com/tj/go-debug/example/multiple.go → vendor/github.com/tj/go-debug/example/multiple.go


+ 0 - 0
_vendor/src/github.com/tj/go-debug/example/single.go → vendor/github.com/tj/go-debug/example/single.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/.travis.yml → vendor/gopkg.in/yaml.v2/.travis.yml


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/LICENSE → vendor/gopkg.in/yaml.v2/LICENSE


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/LICENSE.libyaml → vendor/gopkg.in/yaml.v2/LICENSE.libyaml


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/README.md → vendor/gopkg.in/yaml.v2/README.md


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/apic.go → vendor/gopkg.in/yaml.v2/apic.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/decode.go → vendor/gopkg.in/yaml.v2/decode.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/decode_test.go → vendor/gopkg.in/yaml.v2/decode_test.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/emitterc.go → vendor/gopkg.in/yaml.v2/emitterc.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/encode.go → vendor/gopkg.in/yaml.v2/encode.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/encode_test.go → vendor/gopkg.in/yaml.v2/encode_test.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/parserc.go → vendor/gopkg.in/yaml.v2/parserc.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/readerc.go → vendor/gopkg.in/yaml.v2/readerc.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/resolve.go → vendor/gopkg.in/yaml.v2/resolve.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/scannerc.go → vendor/gopkg.in/yaml.v2/scannerc.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/sorter.go → vendor/gopkg.in/yaml.v2/sorter.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/suite_test.go → vendor/gopkg.in/yaml.v2/suite_test.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/writerc.go → vendor/gopkg.in/yaml.v2/writerc.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/yaml.go → vendor/gopkg.in/yaml.v2/yaml.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/yamlh.go → vendor/gopkg.in/yaml.v2/yamlh.go


+ 0 - 0
_vendor/src/gopkg.in/yaml.v2/yamlprivateh.go → vendor/gopkg.in/yaml.v2/yamlprivateh.go