in

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ints

type Ints struct {
	// contains filtered or unexported fields
}

func NewInts

func NewInts() *Ints

NewInts returns a function that checks if a value is In a list of values.

func (*Ints) In

func (i *Ints) In(value int, values []int) bool

func (*Ints) Set

func (i *Ints) Set(values []int)

type Strings

type Strings struct {
	// contains filtered or unexported fields
}

func NewStrings

func NewStrings() *Strings

NewStrings returns a function that checks if a string is In a list of strings.

func (*Strings) In

func (s *Strings) In(value string, values []string) bool

func (*Strings) Set

func (s *Strings) Set(values []string)

Jump to

Keyboard shortcuts

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