calculate

package
v0.0.0-...-0e87f52 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUniqueCharacters

func IsUniqueCharacters(word string) bool

Types

type Alphabet

type Alphabet struct {
	Letters []KeyVal
}

type CharacterCounts

type CharacterCounts map[string]int

type FiveLetters

type FiveLetters struct {
	Word []Alphabet
}

func GetCharacterCounts

func GetCharacterCounts(s []string) *FiveLetters

type KeyVal

type KeyVal struct {
	Key string `json:"word"`
	Val int    `json:"score"`
}

func GeneratePowerStarters

func GeneratePowerStarters(list []string, fl FiveLetters, n int) []KeyVal

Jump to

Keyboard shortcuts

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