scan

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: GPL-2.0, GPL-3.0 Imports: 9 Imported by: 3

README

Package scan

Package scan provides utility functions that are used by test.go to read values from STDIN. These functions are mostly specific to the C LI prototype that is running right now.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float

func Float() (float64, error)

Float scans for a float

func Int

func Int() (int, error)

Int scans for an integer

func Password

func Password() (string, error)

Password scans for a password

func RawPassword

func RawPassword() (string, error)

RawPassword scans for a raw password

func String

func String() (string, error)

String scans for a string

func StringCheckFloat

func StringCheckFloat() (string, error)

StringCheckFloat scans for a string checking whether its a float

func StringCheckInt

func StringCheckInt() (string, error)

StringCheckInt scans for a string checking whether it is an integer

Types

This section is empty.

Jump to

Keyboard shortcuts

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