Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HoneyLLM/cli2ssh
/ Set
Struct
Set
internal/set/set.go:3–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
package
set
2
3
type
Set[T comparable]
struct
{
4
items
map
[T]
struct
{}
5
}
6
7
func
New[T comparable]() *Set[T] {
8
return
&Set[T]{items: make(
map
[T]
struct
{})}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected