utils

package
v0.0.0-...-f430a6b Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateState

func GenerateState() string

func PrintError

func PrintError(err error)

PrintError prints an error message

func TrimSlice

func TrimSlice(slice []string) []string

TrimSlice trims all strings in a slice

Types

type HashTable

type HashTable struct {
	// contains filtered or unexported fields
}

func NewHashTable

func NewHashTable() *HashTable

func (*HashTable) Add

func (h *HashTable) Add(keystring string)

Add increments the count for the given album name (keystring)

func (*HashTable) Get

func (h *HashTable) Get(keystring string) int

Get returns the count for the given album name (keystring)

Jump to

Keyboard shortcuts

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