strops

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2025 License: MIT Imports: 2 Imported by: 2

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL