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

Struct StrSet

container/gset/gset_str_set.go:16–19  ·  view source on GitHub ↗

StrSet is consisted of string items.

Source from the content-addressed store, hash-verified

14
15// StrSet is consisted of string items.
16type StrSet struct {
17 *TSet[string]
18 once sync.Once
19}
20
21// NewStrSet create and returns a new set, which contains un-repeated items.
22// 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