Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks a lot! I also found this blog post where they mention it's thread safe thanks to using HashTrieMap internally

Link: https://go.dev/blog/unique



We agreed to make the threadsafeness more explicit in the documentation of the 'unique' package: https://github.com/golang/go/issues/69637




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

Search: