syncmap icon indicating copy to clipboard operation
syncmap copied to clipboard

A typed implementation of the Go sync.Map using code generation

Results 5 syncmap issues
Sort by recently updated
recently updated
newest added

Hi @a8m , Currently using a basic ``` syncmap -name UserChannelsMap -pkg xmap -o ./types/xmap/user_channels_map.go "map[string]string" ``` will work. If I want to use a custom type: ``` syncmap -name...

``` // syncmap code: b.Run(fmt.Sprintf("%T", &IntMap{}), func(b *testing.B) { m := &IntMap{} // setup: // reset: b.ResetTimer() // perG: perG := func(b *testing.B, pb *testing.PB, i int, m *IntMap) {...

Please add methods for get all values and all keys from map. Thank U

Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210309074719-68d13333faf2 to 0.1.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/sys&package-manager=go_modules&previous-version=0.0.0-20210309074719-68d13333faf2&new-version=0.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

``` ➜ go version go version go1.23.2 darwin/arm64 ➜ go run github.com/a8m/syncmap -name IntMap "map[int]int" syncmap: unrecognized function: loadReadOnly exit status 1 ```