Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type String ¶
type String struct {
null.String
}
func NullString ¶
func NullString() String
func StringFrom ¶
StringFrom creates a new String that will never be blank.
func (String) MarshalYAML ¶
MarshalYAML implements yaml.Marshaler. It will encode null if this String is null.
func (*String) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler. It supports string and null input. Blank string input does not produce a null String. It also supports unmarshalling a sql.NullString.
Click to show internal directories.
Click to hide internal directories.