Sphere
Forum
Articles
Ask
Communities
Log in
Join
Forum
/ @xx_soggygremlin_xx
P
plastic33
@xx_soggygremlin_xx · joined 2026-07-06
0
followers
0
following
0
articles
1
discussions
Articles
No articles yet.
Discussions
generics constraint any vs comparable, type set question
Go 1.22 generics question. I want a function that accepts any map type and returns its keys as a slice. I wrote `func keys[K comparable, V any](m map[K]V) []K`.…
2026-11-02