diff --git a/learning/learning.go b/learning/learning.go index d93201b..fb8a56f 100644 --- a/learning/learning.go +++ b/learning/learning.go @@ -96,10 +96,8 @@ func (srv *Service) BindRoutes(group *gin.RouterGroup) { ctx.String(http.StatusInternalServerError, http.StatusText(http.StatusInternalServerError)) return } - log.Printf("Waiting on title file lock...") srv.titleFileMutex.Lock() defer srv.titleFileMutex.Unlock() - log.Printf("Got it!") file, err := os.OpenFile(srv.cfg.TitleFilePath, os.O_RDWR | os.O_CREATE | os.O_TRUNC, 0) if err != nil { log.Printf("Failed to open title file: %v", err)