keymatch

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const FullKeySize = 16

FullKeySize is the length of a complete Humble Bundle key

Variables

This section is empty.

Functions

func FindKey

func FindKey(keys []string, input string) (string, error)

FindKey searches for a bundle key matching the input (case-insensitive prefix match) Returns the matching key or an error if no match or multiple matches found

func GetMatches

func GetMatches(keys []string, input string) []string

GetMatches returns all keys matching the input (used for testing/debugging)

Types

This section is empty.

Jump to

Keyboard shortcuts

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