From a7a3e685fe1eb1901f15face90d2b330cda50425 Mon Sep 17 00:00:00 2001 From: Andrea Spacca Date: Thu, 8 Jul 2021 07:58:01 +0200 Subject: [PATCH] gofmt --- server/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/handlers.go b/server/handlers.go index 37b6fed..199668f 100644 --- a/server/handlers.go +++ b/server/handlers.go @@ -646,7 +646,7 @@ func (s *Server) Lock(token, filename string) { return } -func (s *Server) Unlock(token, filename string) { +func (s *Server) Unlock(token, filename string) { key := path.Join(token, filename) lock, _ := s.locks.LoadOrStore(key, &sync.Mutex{})