Files
gf/g/container/gset/gset.go

15 lines
417 B
Go
Raw Normal View History

2018-01-03 10:38:53 +08:00
// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved.
//
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file,
// You can obtain one at https://gitee.com/johng/gf.
2018-02-28 12:01:14 +08:00
// 并发安全的集合SET.
2018-01-03 10:38:53 +08:00
package gset
2018-08-30 13:00:49 +08:00
type Set = InterfaceSet
// 默认Set类型
func New(safe...bool) *Set {
return NewInterfaceSet(safe...)
2018-08-30 13:00:49 +08:00
}