MCPcopy
hub / github.com/QuantumNous/new-api / Set

Struct Set

types/set.go:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package types
2
3type Set[T comparable] struct {
4 items map[T]struct{}
5}
6
7// NewSet 创建并返回一个新的 Set
8func NewSet[T comparable]() *Set[T] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected