From e9840a957955e42db662d2a60302685c5228ff72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Thu, 25 Feb 2021 17:16:01 +0100 Subject: [PATCH] fmt edit. --- internal/utils/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/image.go b/internal/utils/image.go index feefcd8c..b621fb4b 100644 --- a/internal/utils/image.go +++ b/internal/utils/image.go @@ -20,7 +20,7 @@ func CreatePNGImage(img *image.RGBA) ([]byte, error) { func CreateJPGImage(img *image.RGBA, quality int) ([]byte, error) { out := new(bytes.Buffer) - err := jpeg.Encode(out, img, &jpeg.Options{ Quality: quality }) + err := jpeg.Encode(out, img, &jpeg.Options{Quality: quality}) if err != nil { return nil, err }