MCPcopy Create free account
hub / github.com/cloudwan/gohan / Value

Method Value

util/util.go:53–55  ·  view source on GitHub ↗

Value get current value

()

Source from the content-addressed store, hash-verified

51
52//Value get current value
53func (counter *Counter) Value() int64 {
54 return atomic.LoadInt64(&counter.value)
55}
56
57//GetByJSONPointer returns subdata of json using json pointer
58func GetByJSONPointer(inData interface{}, key string) (interface{}, error) {

Callers 1

TestQueueFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestQueueFunction · 0.76