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

Method String

container/gmap/gmap_hash_int_str_map.go:261–267  ·  view source on GitHub ↗

String returns the map as a string.

()

Source from the content-addressed store, hash-verified

259
260// String returns the map as a string.
261func (m *IntStrMap) String() string {
262 if m == nil {
263 return ""
264 }
265 m.lazyInit()
266 return m.KVMap.String()
267}
268
269// MarshalJSON implements the interface MarshalJSON for json.Marshal.
270func (m IntStrMap) MarshalJSON() ([]byte, error) {

Callers

nothing calls this directly

Calls 2

lazyInitMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected