corrected method doc for xim.ID.MarshalText()
parent
7f8c0adf5d
commit
cd717c34c5
2
id.go
2
id.go
|
@ -84,7 +84,7 @@ func (receiver ID) String() string {
|
|||
return serialized
|
||||
}
|
||||
|
||||
// UnmarshalText makes xim.ID fit the encoding.TextMarshaler interface.
|
||||
// MarshalText makes xim.ID fit the encoding.TextMarshaler interface.
|
||||
func (receiver ID) MarshalText() (text []byte, err error) {
|
||||
if Nothing() == receiver {
|
||||
return nil, errNothing
|
||||
|
|
Loading…
Reference in New Issue