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

Method String

container/gtype/gtype_interface.go:51–53  ·  view source on GitHub ↗

String implements String interface for string printing.

()

Source from the content-addressed store, hash-verified

49
50// String implements String interface for string printing.
51func (v *Interface) String() string {
52 return gconv.String(v.Val())
53}
54
55// MarshalJSON implements the interface MarshalJSON for json.Marshal.
56func (v Interface) MarshalJSON() ([]byte, error) {

Callers

nothing calls this directly

Calls 2

ValMethod · 0.95
StringFunction · 0.92

Tested by

no test coverage detected