small pixel drawing of a pufferfish existentialcrisis.sh

gofumpt
Jes Olson jolson@digitalocean.com
Sat, 29 Jan 2022 14:18:09 -0600
commit

acc7558166b32f57287fc21db57dc6ac6921040f

parent

70d0a1acaf01093a380ac1f0bec7eb303e0c3316

1 files changed, 10 insertions(+), 9 deletions(-)

jump to
M main.gomain.go

@@ -2,14 +2,15 @@ // test

package main import ( + "fmt" "html/template" - "path/filepath" - "net/http" "log" - "time" - "strconv" + "net/http" "os" - "fmt" + "path/filepath" + "strconv" + "time" + "git.j3s.sh/existentialcrisis.sh/quote" )

@@ -78,7 +79,7 @@ http.Error(w, http.StatusText(500), 500)

return } - if ! (1 <= age && age <= 100) { + if !(1 <= age && age <= 100) { http.Error(w, http.StatusText(500), 500) return }

@@ -113,11 +114,11 @@ http.Error(w, http.StatusText(500), 500)

return } - if ! (1 <= years && years <= 1000) { + if !(1 <= years && years <= 1000) { http.Error(w, http.StatusText(500), 500) return } - if ! (1 <= age && age <= 100) { + if !(1 <= age && age <= 100) { http.Error(w, http.StatusText(500), 500) return }

@@ -181,7 +182,7 @@ http.Error(w, http.StatusText(500), 500)

return } - if ! (1 <= age && age <= 100) { + if !(1 <= age && age <= 100) { http.Error(w, http.StatusText(500), 500) return }