package
1.0.21
Repository: https://github.com/cresplanex/bloader.git
Documentation: pkg.go.dev

# Functions

Bool prompts the user to enter a boolean value.
Duration prompts the user to enter a duration.
Number prompts the user to enter a number.
Password prompts the user to enter a password.
Select prompts the user to select an item from a list.
Text prompts the user to enter a text.
Time prompts the user to enter a time.

# Constants

Day timeUnit = "d".
Hour timeUnit = "h".
Microsecond timeUnit = "us".
Millisecond timeUnit = "ms".
Minute timeUnit = "m".
Month timeUnit = "M".
Nanosecond timeUnit = "ns".
Second timeUnit = "s".
Week timeUnit = "w".
Year timeUnit = "y".

# Variables

ErrorMaxAttemptExceeded is returned when the maximum number of attempts is exceeded.
ErrorNumberFormat is returned when the number format is invalid.
ErrorPasswordMismatch is returned when the password and the confirmation password do not match.
ErrorTimeDurationFormat is returned when the time duration format is invalid.
ErrorTimeFormat is returned when the time format is invalid.

# Type aliases

AgainCallback is a callback function that is called when the user needs to be prompted again.