Skip to content

Commit cd21e84

Browse files
authored
Merge pull request #216 from Bynder/master
Remove go-debug usage
2 parents 262d0f8 + ae46b22 commit cd21e84

File tree

11 files changed

+1
-450
lines changed

11 files changed

+1
-450
lines changed

Gopkg.lock

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,3 @@
2020
# name = "github.com/x/y"
2121
# version = "2.4.0"
2222

23-
24-
[[constraint]]
25-
name = "github.com/tj/go-debug"
26-
version = "2.0.0"

resizer.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ func resizer(buf []byte, o Options) ([]byte, error) {
2929
return nil, errors.New("Unsupported image output type")
3030
}
3131

32-
debug("Options: %#v", o)
33-
3432
// Auto rotate image based on EXIF orientation header
3533
image, rotated, err := rotateAndFlipImage(image, o)
3634
if err != nil {
@@ -224,9 +222,6 @@ func transformImage(image *C.VipsImage, o Options, shrink int, residual float64)
224222
return nil, err
225223
}
226224

227-
debug("Transform: shrink=%v, residual=%v, interpolator=%v",
228-
shrink, residual, o.Interpolator.String())
229-
230225
return image, nil
231226
}
232227

@@ -247,9 +242,6 @@ func applyEffects(image *C.VipsImage, o Options) (*C.VipsImage, error) {
247242
}
248243
}
249244

250-
debug("Effects: gaussSigma=%v, gaussMinAmpl=%v, sharpenRadius=%v",
251-
o.GaussianBlur.Sigma, o.GaussianBlur.MinAmpl, o.Sharpen.Radius)
252-
253245
return image, nil
254246
}
255247

vendor/github.com/tj/go-debug/History.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

vendor/github.com/tj/go-debug/Makefile

Lines changed: 0 additions & 8 deletions
This file was deleted.

vendor/github.com/tj/go-debug/Readme.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

vendor/github.com/tj/go-debug/debug.go

Lines changed: 0 additions & 128 deletions
This file was deleted.

0 commit comments

Comments
 (0)