Page MenuHomeMusing Studio

encoding_types_1.1.go
No OneTemporary

encoding_types_1.1.go

// +build !go1.2
package toml
// These interfaces were introduced in Go 1.2, so we add them manually when
// compiling for Go 1.1.
// TextMarshaler is a synonym for encoding.TextMarshaler. It is defined here
// so that Go 1.1 can be supported.
type TextMarshaler interface {
MarshalText() (text []byte, err error)
}
// TextUnmarshaler is a synonym for encoding.TextUnmarshaler. It is defined
// here so that Go 1.1 can be supported.
type TextUnmarshaler interface {
UnmarshalText(text []byte) error
}

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 21, 10:11 PM (9 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3599734

Event Timeline