go.uber.org/atomic.Int64.Swap (method)
2 uses
go.uber.org/atomic (current package)
duration.go#L73: return time.Duration(x.v.Swap(int64(val)))
int64.go#L86: func (i *Int64) Swap(val int64) (old int64) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |