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.11.0 (latest)
- Published
- May 3, 2023
- Platform
- linux/amd64
- Imports
- 11 packages
- Last checked
- 1 week ago –
Tools for package owners.