diff --git a/value.go b/value.go index 471cdc4..34c022d 100644 --- a/value.go +++ b/value.go @@ -63,7 +63,7 @@ func (value *Value) SetSync(is bool) { value.isSync = is } -func (value *Value) Value() interface{} { +func (value *Value) GetValue() interface{} { value.mutex.Lock() defer value.mutex.Unlock() return value.value