Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by mail-b.sr.ht (Postfix) with ESMTPS id EA015FF12C for <~sircmpwn/chartsrv-devel@lists.sr.ht>; Wed, 21 Oct 2020 23:10:42 +0000 (UTC) Authentication-Results: mail-b.sr.ht; dkim=fail reason="key not found in DNS" (0-bit key) header.d=pixelhero.dev header.i=@pixelhero.dev header.b=WEwqTd+K X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pixelhero.dev; s=key1; t=1603321841; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=uaNBXMWGcYWmYyJchSIM0aVWQRdeh+Q62XN4aw8yofs=; b=WEwqTd+KL4bSQPWffof7lEv742URuK5tjdIZPPzm20XlXwevfZ5DSQmNDPAn8BfQ1PPz82 Zjfn2u8ppL70/eEaNkycPsrUrvrlIh5RZq1+nJOsXLKJYpk3iTJvCok04orofDbA+DAjE+ nkccdJstlUyswcSQcTHJ120qoJqg5nrylLhB3uRxpfhUFsaoLjFFqKFEbllVy+cElzEc5+ wKL+Y8NTZl+/DlmhYeHNjvLeh42azSSTy/hG8T5a/prSCi6Lb0fLi65rka8JQsBT3v4IYP yMy44wMuMCEBcu1D8WEYorhGjDNtuiAFcrf+ljHUP4vCvYxNRRrE2CrDsVqd2Q== From: Noam Preil To: ~sircmpwn/chartsrv-devel@lists.sr.ht Cc: Noam Preil Subject: [PATCH] Minor formatting improvement Date: Wed, 21 Oct 2020 23:06:25 +0000 Message-Id: <20201021230625.7788-1-noam@pixelhero.dev> MIME-Version: 1.0 X-Spam-Score: 0.00 Content-Transfer-Encoding: quoted-printable --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 0eab06f..12c5491 100644 --- a/main.go +++ b/main.go @@ -149,15 +149,15 @@ func registerExtension(router chi.Router, extension= string, mime string) { end =3D time.Now().Add(-d) } =20 - width :=3D 12*vg.Inch - height :=3D 6*vg.Inch + width :=3D 12 * vg.Inch + height :=3D 6 * vg.Inch if ws, ok :=3D args["width"]; ok { w, _ :=3D strconv.ParseFloat(ws[0], 32) - width =3D vg.Length(w)*vg.Inch + width =3D vg.Length(w) * vg.Inch } if hs, ok :=3D args["height"]; ok { h, _ :=3D strconv.ParseFloat(hs[0], 32) - height =3D vg.Length(h)*vg.Inch + height =3D vg.Length(h) * vg.Inch } =20 // Undocumented option --=20 2.28.0