Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
557
func
ModelPtr(v Model) *Model {
return
&v }
558
559
func
(p Model) MarshalText() ([]byte, error) {
560
return
[]byte(p.String()), nil
561
}
562
563
func
(p *Model) UnmarshalText(text []byte) error {
564
q, err := ModelFromString(string(text))
Callers
nothing calls this directly
Calls
1
String
Method · 0.95
Tested by
no test coverage detected