package
module
Version:
v0.0.0-...-d208f09
Opens a new window with list of versions in this module.
Published: Jan 11, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Go Keyboard Package from Head First Go
As of Chapter 4, this includes a GetFloat function that receives a float number from user input.
I have personally added function GetString which also uses GetFloat.
Documentation
¶
Package keyboard reads user input from the keyboard.
GetFloat reads a floating-point number from the keyboard.
It returns the number read and any error encountered.
GetString reads a string from the keyboard.
It returns the string read and any error encountered.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.