pile

package
v0.0.0-...-ac787cf Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaybeCrap

func MaybeCrap(what error, where string)

Types

type WordPile

type WordPile struct {
	TopWord string
	// contains filtered or unexported fields
}

func New

func New() WordPile

func (*WordPile) AddFile

func (pile *WordPile) AddFile(fileName string) string

func (WordPile) Count

func (pile WordPile) Count(word string) int

func (WordPile) GetWord

func (pile WordPile) GetWord() string

Jump to

Keyboard shortcuts

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