MCPcopy Create free account
hub / github.com/segmentio/encoding / String

Method String

proto/reflect.go:44–44  ·  view source on GitHub ↗

Returns a human-readable representation of the type.

()

Source from the content-addressed store, hash-verified

42type Type interface {
43 // Returns a human-readable representation of the type.
44 String() string
45
46 // Returns the name of the type.
47 Name() string

Callers 15

TestTypeOfFunction · 0.65
StringMethod · 0.65
TestRewriteFunction · 0.65
BenchmarkRewriteFunction · 0.65
codecOfFunction · 0.65
encodeFuncOfFunction · 0.65
encodeStringFunction · 0.65
ErrorMethod · 0.65
ErrorMethod · 0.65
DecodeMethod · 0.65
decodeFuncOfFunction · 0.65

Implementers 4

primitiveTypeproto/reflect.go
mapTypeproto/reflect.go
structTypeproto/reflect.go
opaqueMessageTypeproto/reflect.go

Calls

no outgoing calls

Tested by 11

TestTypeOfFunction · 0.52
TestRewriteFunction · 0.52
BenchmarkRewriteFunction · 0.52
TestNumberAccessorsFunction · 0.52
TestUnmarshalNullsFunction · 0.52
TestStringBytesFunction · 0.52
TestCompactFunction · 0.52
TestCompactSeparatorsFunction · 0.52
TestIndentFunction · 0.52
MarshalJSONMethod · 0.52
TestParseFunction · 0.52