Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Go
/
Structs
Which struct type can be used safely as a map key without a runtime comparability panic?
from Structs
Go 1.27
intermediate
1 min
Which struct type can be used safely as a map key without a runtime comparability panic?
struct { Tenant string; ID int }
struct { IDs []int }
struct { Labels map[string]string }
struct { Value any }, for every possible dynamic value
Check
Ask AI about this kata
Report an error
next kata
What does this program print after copying the struct?
Predict the output
A new version is available
Reload