gf/g/container/gset/gset.go

16 lines
484 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.
2019-01-15 23:27:47 +08:00
// Package gset provides kinds of concurrent-safe(alternative) sets.
// 并发安全集合.
2018-01-03 10:38:53 +08:00
package gset
2018-08-30 13:00:49 +08:00
type Set = InterfaceSet
// 默认Set类型
func New(unsafe...bool) *Set {
return NewInterfaceSet(unsafe...)
2018-08-30 13:00:49 +08:00
}