String is a struct for concurrent-safe operation for type string.
| 15 | |
| 16 | // String is a struct for concurrent-safe operation for type string. |
| 17 | type 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`. |
nothing calls this directly
no outgoing calls
no test coverage detected