Documentation ¶ Index ¶ func Apply(ops []SetOption, o *Options) type Options type SetOption func WithLenSer(lenSer muss.Serializer[int]) SetOption func WithLenValidator(lenVl com.Validator[int]) SetOption Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Apply ¶ func Apply(ops []SetOption, o *Options) Types ¶ type Options ¶ type Options struct { LenSer muss.Serializer[int] LenVl com.Validator[int] } Options for the string serializer. type SetOption ¶ type SetOption func(o *Options) func WithLenSer ¶ func WithLenSer(lenSer muss.Serializer[int]) SetOption func WithLenValidator ¶ func WithLenValidator(lenVl com.Validator[int]) SetOption Source Files ¶ View all Source files options.go Click to show internal directories. Click to hide internal directories.