go_utils

package module
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 1 Imported by: 0

README

go-utils

⚠️DO NOT USE ON PRODUCTION.

DISCLAIMER: This is an experimental study. Do not use it for production. Use at your own risk. 😬

The purpose of this study is to test new ideas and methods that may not be fully developed or reliable. It is not intended for use in real-world applications and may not be fully tested or stable.

Please use caution and proceed with the understanding that there may be errors or bugs present in the code. Your feedback and contributions are welcome to help improve and refine the study.

In short, use it for educational or research purposes but not for production. 🤓

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys[K constraints.Ordered, V any](source map[K]V) []K

func Values

func Values[K constraints.Ordered, V any](source map[K]V) []V

Types

type KeyValuePair added in v0.1.6

type KeyValuePair[K constraints.Ordered, V any] struct {
	Key   K
	Value V
}

func Entries added in v0.1.4

func Entries[K constraints.Ordered, V any](source map[K]V) []KeyValuePair[K, V]

type KeyValueStore

type KeyValueStore map[string]struct{}

func CreateConstMap

func CreateConstMap(first string, rest ...string) KeyValueStore

func (KeyValueStore) IsExist

func (base KeyValueStore) IsExist(key string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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