diff options
Diffstat (limited to 'funcs.go')
-rw-r--r-- | funcs.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -105,7 +105,7 @@ retry: // AtomicGet is a helper function that atomically reads a value. func AtomicGet(v *Var) interface{} { - return v.value.Load().(VarValue).Get() + return v.value.Load().Get() } // AtomicSet is a helper function that atomically writes a value. |