diff options
Diffstat (limited to 'handlers.go')
-rw-r--r-- | handlers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers.go b/handlers.go index 9dc7192..7f05f8f 100644 --- a/handlers.go +++ b/handlers.go @@ -31,9 +31,9 @@ func indexHandler(w http.ResponseWriter, r *http.Request) { // Pass the confObj.Instance data to the template, // then send it to the client. - confObj.mu.RLock() + confObj.Mu.RLock() err := tmpls.ExecuteTemplate(w, "index.html", confObj.Instance) - confObj.mu.RUnlock() + confObj.Mu.RUnlock() if err != nil { log500(w, r, err) return |