userinput

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsProbabilities

func ContainsProbabilities() bool

ContainsProbabilities - checks if prob flag is checked. If is checked numbers in file -p are treated as floats in range of [0..1]

func GetData

func GetData() (string, string)

GetData - returns user input and path to file with custom occurrences w -> f -> p (prob) | h

func HelpRequested

func HelpRequested() bool

HelpRequested - checks if user requested help

func InitFlags

func InitFlags()

InitFlags - defines flags for user to operate program

func PrintHelp

func PrintHelp()

PrintHelp - prints help if user is asking for it

Types

This section is empty.

Jump to

Keyboard shortcuts

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