aboutsummaryrefslogtreecommitdiff
path: root/go/images/resizing.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/images/resizing.go')
-rw-r--r--go/images/resizing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/images/resizing.go b/go/images/resizing.go
index 7e21db70b..08a1e15d2 100644
--- a/go/images/resizing.go
+++ b/go/images/resizing.go
@@ -23,8 +23,8 @@ func Resized(ext string, data []byte, width, height int) (resized []byte, w int,
} else {
dstImage = imaging.Resize(srcImage, width, height, imaging.Lanczos)
}
- }else{
- return data, bounds.Dx(), bounds.Dy()
+ } else {
+ return data, bounds.Dx(), bounds.Dy()
}
var buf bytes.Buffer
switch ext {