util

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringSet

type StringSet map[string]void

StringSet is a list of unique strings.

func NewStringSet

func NewStringSet(items ...string) StringSet

NewStringSet creates a new string set from strings slice.

func (StringSet) Concat

func (s StringSet) Concat(items StringSet) StringSet

Concat joins two string sets together into a new set.

func (StringSet) Has

func (s StringSet) Has(val string) bool

Has checks if set contains a value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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