Struct as map key

Run Settings
LanguageGo
Language Version
Run Command
package main import ( "fmt" ) type Key struct { ID int } func main() { m := make(map[Key]struct{}) m[Key{132}] = struct{}{} fmt.Printf("%#v", m) }
Editor Settings
Theme
Key bindings
Full width
Lines