helpers

package
v0.0.0-...-6965a8e Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FIRST_CHAR_ALPHABET  = "ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789abcdefghijklmnopqrstuvwxyz"
	FIRST_CHAR_FORBIDDEN = "_"
	ALPHABET             = FIRST_CHAR_ALPHABET + FIRST_CHAR_FORBIDDEN
	HASH_SIZE            = 7
)

TODO: verify if could increase alphabet

Variables

This section is empty.

Functions

func GenerateHash

func GenerateHash() string

func GetKeys

func GetKeys[T any](mp map[string]T) []string

func RandomHash

func RandomHash(size uint) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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