Skip to content

Commit ae46b22

Browse files
author
Mircea Cosbuc
committed
Remove go-debug usage
1 parent 46db36e commit ae46b22

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 {
@@ -223,9 +221,6 @@ func transformImage(image *C.VipsImage, o Options, shrink int, residual float64)
223221
return nil, err
224222
}
225223

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

@@ -246,9 +241,6 @@ func applyEffects(image *C.VipsImage, o Options) (*C.VipsImage, error) {
246241
}
247242
}
248243

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

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)