diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-11 04:07:48 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-11 04:07:48 -0400 |
commit | d62c82f30506baa430fb7e3e117f007cfa66ac13 (patch) | |
tree | e48dfe43455c97acdfbe722d5c16c76be1b24164 | |
parent | d3d9df2268345cb3bdcdcfa5712dfde0fdf7dbca (diff) | |
download | getwtxt-d62c82f30506baa430fb7e3e117f007cfa66ac13.tar.gz |
commenting early
-rw-r--r-- | types.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/types.go b/types.go index 15f39d1..6b33e5b 100644 --- a/types.go +++ b/types.go @@ -1,8 +1,10 @@ package main +// content-type consts const txtutf8 = "text/plain; charset=utf8" const htmlutf8 = "text/html; charset=utf8" +// config object definition type configuration struct { port string quietLogging bool @@ -10,4 +12,5 @@ type configuration struct { logFile string } +// config object var confObj = &configuration{} |