From b133debd9d6f7d80bfd0279dd1f7ef5259492a58 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Sat, 11 May 2019 03:33:12 -0400 Subject: removed unneded conf field --- types.go | 7 ------- 1 file changed, 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)") -} -- cgit 1.4.1-2-gfad0