MCPcopy Create free account
hub / github.com/corestoreio/pkg / Text

Method Text

sql/dml/mapper.go:1120–1149  ·  view source on GitHub ↗

Text allows to encode an object to its text representation when arguments are requested and to decode a byte slice into its object when data is retrieved from the server. Use this function for JSON, XML, YAML, etc formats. This function can check for valid UTF8 characters, see field CheckValidUTF8.

(enc interface {
	encoding.TextMarshaler
	encoding.TextUnmarshaler
})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestColumnMap_BinaryTextFunction · 0.95
RunProtocFunction · 0.80
MapColumnsMethod · 0.80
indentMessageLinesFunction · 0.80

Calls 6

shouldCollectArgsMethod · 0.95
ColumnMethod · 0.95
MarshalTextMethod · 0.65
ValidMethod · 0.65
ErrorfMethod · 0.65
UnmarshalTextMethod · 0.45

Tested by 2

TestColumnMap_BinaryTextFunction · 0.76
MapColumnsMethod · 0.64