Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make generic SyncMap with with actually any type (#116)
The SyncMap genreic type does not work with non-nilable types, as the nil value returned by sync.Map cannot be converted to the V generic type. Replace nil by the zero value if that's the case.
- Loading branch information