From 138794e7a22bb1654c27870616c3535902916580 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sat, 4 Jun 2022 20:27:50 -0400 Subject: peach: update comments --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 2fd2de6..4a33695 100644 --- a/main.go +++ b/main.go @@ -20,20 +20,20 @@ import ( "ricketyspace.net/peach/version" ) -// peach port. defaults to 8151 +// Peach port. Defaults to 8151 var peachPort = flag.Int("p", 8151, "Port to run peach on") -// peach listen address. set during init. +// Peach listen address. Set during init. var peachAddr = "" -// holds static content. +// Holds static content. //go:embed templates static var peachFS embed.FS -// html templates. +// HTML templates. var peachTemplates = template.Must(template.ParseFS(peachFS, "templates/*.tmpl")) -// lat,long regex. +// Lat,Long regex. var latLngRegex = regexp.MustCompile(`/(-?[0-9]+\.?[0-9]+?),(-?[0-9]+\.?[0-9]+)`) type Weather struct { -- cgit v1.2.3