diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-23 00:21:53 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-23 01:08:13 -0400 |
commit | cd635e6c6b009d6c9d6943ea7c850ca740172b65 (patch) | |
tree | 47c482560cf5f0019f6e13076fc39053f9d5bf77 /main.go | |
parent | d15180e9dcd540d5850fa0319a7614620075eaea (diff) | |
download | getwtxt-cd635e6c6b009d6c9d6943ea7c850ca740172b65.tar.gz |
configuration init changes
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go index 43c204b..9e76c65 100644 --- a/main.go +++ b/main.go @@ -83,9 +83,9 @@ func main() { HandlerFunc(apiTagsHandler) // format the port for the http.Server object - confObj.mu.RLock() - portnum := fmt.Sprintf(":%v", confObj.port) - confObj.mu.RUnlock() + confObj.Mu.RLock() + portnum := fmt.Sprintf(":%v", confObj.Port) + confObj.Mu.RUnlock() // defines options for the http server. // handlers.CompressHandler gzips all responses. // Write/Read timeouts are self explanatory. |