summary refs log tree commit diff stats
path: root/types.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-11 03:33:12 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-11 03:33:12 -0400
commitb133debd9d6f7d80bfd0279dd1f7ef5259492a58 (patch)
tree0e6ae1804163b00a4fd5866d74d635483f568373 /types.go
parentd4c05d21a4de2fe8f492957b66f40aa5e6757dca (diff)
downloadgetwtxt-b133debd9d6f7d80bfd0279dd1f7ef5259492a58.tar.gz
removed unneded conf field
Diffstat (limited to 'types.go')
-rw-r--r--types.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/types.go b/types.go
index 7cfa7d6..15f39d1 100644
--- a/types.go
+++ b/types.go
@@ -1,20 +1,13 @@
 package main
 
-import "regexp"
-
 const txtutf8 = "text/plain; charset=utf8"
 const htmlutf8 = "text/html; charset=utf8"
 
 type configuration struct {
 	port         string
-	validPath    *regexp.Regexp
 	quietLogging bool
 	fileLogging  bool
 	logFile      string
 }
 
 var confObj = &configuration{}
-
-func initConfig() {
-	confObj.validPath = regexp.MustCompile("^/(api)/(plain)/(tweets|users|tags|mentions)")
-}