diff options
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. |