修改: Value() -> GetValue()
与结构体名冲特, 修改为GetValue.
This commit is contained in:
parent
3ade58a752
commit
d9e2c1fcdb
2
value.go
2
value.go
|
@ -63,7 +63,7 @@ func (value *Value) SetSync(is bool) {
|
||||||
value.isSync = is
|
value.isSync = is
|
||||||
}
|
}
|
||||||
|
|
||||||
func (value *Value) Value() interface{} {
|
func (value *Value) GetValue() interface{} {
|
||||||
value.mutex.Lock()
|
value.mutex.Lock()
|
||||||
defer value.mutex.Unlock()
|
defer value.mutex.Unlock()
|
||||||
return value.value
|
return value.value
|
||||||
|
|
Loading…
Reference in New Issue
Block a user