summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-06-04 20:27:50 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-06-04 20:27:50 -0400
commit138794e7a22bb1654c27870616c3535902916580 (patch)
tree7be6ddc93950c10fcaa5cadfb256e6964cc65b11
parentb1b62e84dd45460c431200e5dfe084b22608e702 (diff)
peach: update comments
-rw-r--r--main.go10
-rw-r--r--version/version.go2
2 files changed, 6 insertions, 6 deletions
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 {
diff --git a/version/version.go b/version/version.go
index 5e088ac..3dcaaf2 100644
--- a/version/version.go
+++ b/version/version.go
@@ -3,4 +3,4 @@
package version
-const Version = "0.1.0"
+const Version = "0.1.1.dev1"