← Back to context Comment by tiltowait 12 hours ago You can test for existence: val, ok := my_map[123] if ok { ... } https://go.dev/blog/maps#working-with-maps 0 comments tiltowait Reply No comments yet Contribute on Hacker News ↗
No comments yet
Contribute on Hacker News ↗