MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / MarshalText

Method MarshalText

common/common.go:559–561  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

557func ModelPtr(v Model) *Model { return &v }
558
559func (p Model) MarshalText() ([]byte, error) {
560return []byte(p.String()), nil
561}
562
563func (p *Model) UnmarshalText(text []byte) error {
564q, err := ModelFromString(string(text))

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected