improve join feature for package gdb (#2929)

This commit is contained in:
John Guo
2023-09-05 19:29:28 +08:00
committed by GitHub
parent 912316d765
commit 6cddfdb313
4 changed files with 66 additions and 59 deletions

View File

@ -184,7 +184,7 @@ func (set *Set) Clear() {
set.mu.Unlock()
}
// Slice returns the an of items of the set as slice.
// Slice returns all items of the set as slice.
func (set *Set) Slice() []interface{} {
set.mu.RLock()
var (