seenset

package
v0.0.0-...-1c999d7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SeenSet

type SeenSet[K comparable] struct {
	// contains filtered or unexported fields
}

func New

func New[K comparable]() *SeenSet[K]

func (*SeenSet[K]) Seen

func (s *SeenSet[K]) Seen(k K, notouch ...bool) bool

func (*SeenSet[K]) SeenWhen

func (s *SeenSet[K]) SeenWhen(k K, notouch ...bool) (time.Time, bool)

Jump to

Keyboard shortcuts

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