MCPcopy
hub / github.com/gogf/gf / Set

Struct Set

container/gset/gset_any_set.go:17–20  ·  view source on GitHub ↗

Set is consisted of any items.

Source from the content-addressed store, hash-verified

15
16// Set is consisted of any items.
17type Set struct {
18 *TSet[any]
19 once sync.Once
20}
21
22// New create and returns a new set, which contains un-repeated items.
23// The parameter `safe` is used to specify whether using set in concurrent-safety,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected