internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapSlice

func MapSlice[T any, V any](s []T, fn func(T) V) []V

Types

type Set

type Set[T comparable] map[T]struct{}

func ToSet

func ToSet[T comparable](s []T) Set[T]

func (*Set[T]) Contains

func (s *Set[T]) Contains(e T) bool

func (*Set[T]) IsSubset

func (s *Set[T]) IsSubset(other Set[T]) bool

Jump to

Keyboard shortcuts

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