gen-atomicint command
gen-atomicint generates an atomic wrapper around an integer type.
gen-atomicint -name Int32 -wrapped int32 -file out.go
The generated wrapper will use the functions in the sync/atomic package named after the generated type.
- Version
- v1.10.0
- Published
- Aug 11, 2022
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 2 minutes ago –
Tools for package owners.