stringutil

package
v0.0.0-...-0235693 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustStringsToInts

func MustStringsToInts(sl []string) []int

Types

type OrderedSet

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

func NewOrderedSet

func NewOrderedSet(elts ...string) *OrderedSet

func (*OrderedSet) Contains

func (set *OrderedSet) Contains(s string) bool

func (*OrderedSet) Insert

func (set *OrderedSet) Insert(values ...string)

func (*OrderedSet) Values

func (set *OrderedSet) Values() []string

type Set

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

func NewSet

func NewSet() *Set

func (*Set) Contains

func (set *Set) Contains(s string) bool

func (*Set) Insert

func (set *Set) Insert(s string)

Jump to

Keyboard shortcuts

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