mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-23 04:30:19 +01:00
gofmt
This commit is contained in:
parent
94f94f27ff
commit
a7a3e685fe
1 changed files with 1 additions and 1 deletions
|
@ -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{})
|
||||
|
|
Loading…
Reference in a new issue