Hacker News new | past | comments | ask | show | jobs | submit login

Here an example: https://go.dev/play/p/He0lBEYZJ03

Value is always a copy. Either a copy of a struct (in case of map[T]struct{}) or a copy of a pointer (in case of map[T]*struct{})




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: