go.uber.org/atomic/internal/gen-atomicint
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.
Package
Files: 1. Third party imports: 0. Imports from organisation: 0. Tests: 0. Benchmarks: 0.
Vars
Private functions
func main
References: log.Fatalf, log.SetFlags, os.Args.
func run
References: bytes.Buffer, errors.New, flag.ContinueOnError, flag.NewFlagSet, fmt.Errorf, format.Source, io.WriteString, io.Writer, os.Create, os.Stdout, time.Now.