It is supported via the `--rwmu` flag.

On Wednesday, July 12, 2017 at 3:05:33 AM UTC-5, Rader wrote:
>
> I would prefer `sync.RWMutex` which allows multiple `Get` to the map.
>
> On Friday, June 16, 2017 at 1:26:04 PM UTC+8, am...@ammar.io wrote:
>>
>> https://github.com/ammario/mapgen
>>
>>
>> Features:
>>
>>    - Supports any key/value pair supported by Go's native maps
>>    - Allows complex operations via Lock() and Unlock()
>>    - Generated code conforms to golint and gofmt
>>    - Allows custom types
>>    - Sensible default file name and map name
>>    
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to