Commit
Author: Noam Preil [noam@pixelhero.dev]
Committer: Drew DeVault [sir@cmpwn.com] Wed, 21 Oct 2020 23:06:25 +0000
Hash: ad2375c21be94b955a280ca041c1f8c67dcac2fe
Timestamp: Wed, 21 Oct 2020 23:06:25 +0000 (4 years ago)

+4 -4 +/-1 browse
Minor formatting improvement
1diff --git a/main.go b/main.go
2index 0eab06f..12c5491 100644
3--- a/main.go
4+++ b/main.go
5 @@ -149,15 +149,15 @@ func registerExtension(router chi.Router, extension string, mime string) {
6 end = time.Now().Add(-d)
7 }
8
9- width := 12*vg.Inch
10- height := 6*vg.Inch
11+ width := 12 * vg.Inch
12+ height := 6 * vg.Inch
13 if ws, ok := args["width"]; ok {
14 w, _ := strconv.ParseFloat(ws[0], 32)
15- width = vg.Length(w)*vg.Inch
16+ width = vg.Length(w) * vg.Inch
17 }
18 if hs, ok := args["height"]; ok {
19 h, _ := strconv.ParseFloat(hs[0], 32)
20- height = vg.Length(h)*vg.Inch
21+ height = vg.Length(h) * vg.Inch
22 }
23
24 // Undocumented option