MCPcopy
hub / github.com/gogf/gf / String

Struct String

container/gtype/gtype_string.go:17–19  ·  view source on GitHub ↗

String is a struct for concurrent-safe operation for type string.

Source from the content-addressed store, hash-verified

15
16// String is a struct for concurrent-safe operation for type string.
17type String struct {
18 value atomic.Value
19}
20
21// NewString creates and returns a concurrent-safe object for string type,
22// with given initial value `value`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected