data_type

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Copyright (c) 2023 the go-mongr8 Authors and Contributors [@see Authors file]

Licensed under the MIT License (https://opensource.org/licenses/MIT)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pair

type Pair[T any, U any] struct {
	First  T
	Second U
}

func NewPair

func NewPair[T any, U any](first T, second U) Pair[T, U]

type Set

type Set[T any] struct {
	// contains filtered or unexported fields
}

func (Set[T]) Erase

func (s Set[T]) Erase(item interface{})

func (Set[T]) Exists

func (s Set[T]) Exists(item interface{}) bool

func (Set[T]) Insert

func (s Set[T]) Insert(item interface{})

Jump to

Keyboard shortcuts

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