Versions in this module Expand all Collapse all v0 v0.0.1 Feb 7, 2023 Changes in this version + const ErrEmpty + const ErrInvalidChar + const ErrNil + const ErrTooLong + const ErrTrailingSep + type NS struct + var Default NS = Namespace("minecraft") + func Namespace(namespace string) NS + func ParseNamespace(v string, strict bool) (NS, error) + func (n *NS) MarshalText() (text []byte, err error) + func (n *NS) UnmarshalText(text []byte) (err error) + func (n NS) Equal(n2 NS) bool + func (n NS) IsNil() bool + func (n NS) Key(k string) NSK + func (n NS) ParseKey(k string) (nsk NSK, err error) + func (n NS) String() string + type NSK struct + func Key(namespacedKey string) NSK + func ParseKey(namespacedKey string, strict bool) (NSK, error) + func (n *NSK) MarshalText() (text []byte, err error) + func (n *NSK) UnmarshalText(text []byte) (err error) + func (n NSK) Equal(n2 NSK) bool + func (n NSK) IsNil() bool + func (n NSK) Key() string + func (n NSK) Namespace() NS + func (n NSK) String() string