mirror of https://github.com/perkeep/perkeep.git
pkg/sorted: rename a receiver to appease staticcheck
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
This commit is contained in:
parent
9d0c73955a
commit
2e5266741a
|
@ -45,10 +45,10 @@ type memKeys struct {
|
|||
db *memdb.DB
|
||||
}
|
||||
|
||||
func (s *memKeys) Wipe() error {
|
||||
s.mu.Lock()
|
||||
defer s.mu.Unlock()
|
||||
s.db = memdb.New(comparer.DefaultComparer, 128)
|
||||
func (mk *memKeys) Wipe() error {
|
||||
mk.mu.Lock()
|
||||
defer mk.mu.Unlock()
|
||||
mk.db = memdb.New(comparer.DefaultComparer, 128)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue