Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommaDelimited ¶
type CommaDelimited[T any] []T
CommaDelimited is a list of T entries separated by commas.
func (CommaDelimited[T]) MarshalText ¶
func (l CommaDelimited[T]) MarshalText() ([]byte, error)
func (*CommaDelimited[T]) UnmarshalText ¶
func (l *CommaDelimited[T]) UnmarshalText(text []byte) error
type NewLineDelimited ¶
type NewLineDelimited[T any] []T
NewLineDelimited is a list of T entries separated by newlines.
func (NewLineDelimited[T]) MarshalText ¶
func (l NewLineDelimited[T]) MarshalText() ([]byte, error)
func (*NewLineDelimited[T]) UnmarshalText ¶
func (l *NewLineDelimited[T]) UnmarshalText(text []byte) error
type SpaceDelimited ¶
type SpaceDelimited[T any] []T
CommaDelimited is a list of T entries separated by whitespace.
func (SpaceDelimited[T]) MarshalText ¶
func (l SpaceDelimited[T]) MarshalText() ([]byte, error)
func (*SpaceDelimited[T]) UnmarshalText ¶
func (l *SpaceDelimited[T]) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.