namesets

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFromReader

func LoadFromReader(r io.Reader) (map[string]int, error)

LoadFromReader loads a name set from the provided reader. The data should consist of lines of text, each of which contains a name and a count, separated by a comma. The trailing comma and count may be omitted, in which case a value of 1 is assumed.

func MustLoadFromReader

func MustLoadFromReader(r io.Reader) map[string]int

MustLoadFromReader loads a name set from the provided reader. The data should consist of lines of text, each of which contains a name and a count, separated by a comma.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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