Documentation ¶
Overview ¶
Package name represents a name in the system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Name ¶
type Name struct {
// contains filtered or unexported fields
}
Name represents a name in the system.
func MustParse ¶
MustParse parses the string value and returns a name if the value complies with the rules for a name. If an error occurs the function panics.
func Parse ¶
Parse parses the string value and returns a name if the value complies with the rules for a name.
func (Name) MarshalText ¶
MarshalText provides support for logging and any marshal needs.
type Null ¶
type Null struct {
// contains filtered or unexported fields
}
Null represents a name in the system that can be empty.
func MustParseNull ¶
MustParseNull parses the string value and returns a name if the value complies with the rules for a name. If an error occurs the function panics.
func ParseNull ¶
ParseNull parses the string value and returns a name if the value complies with the rules for a name.