aboutsummaryrefslogtreecommitdiffstats
path: root/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'util.go')
-rw-r--r--util.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/util.go b/util.go
new file mode 100644
index 0000000..6b5049e
--- /dev/null
+++ b/util.go
@@ -0,0 +1,9 @@
+package main
+
+type EmailAddress string
+type Password string
+type Url string
+
+// "Slug" string with limited ASCII character set, good for URLs.
+// Lowercase alphanumeric plus '_' allowed.
+type ShortName string