userinput

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Пакет userinput предоставляет функции для внутренней обработки пользовательского ввода

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInput = fmt.Errorf("ошибка при чтении ввода")
)

Functions

func IsNonInteractive

func IsNonInteractive() bool

Проверяет является ли стандратный ввод терминалом

func PromptString

func PromptString(prompt string) string

Обрабатывает пользовательский ввод

func PromptUint

func PromptUint(prompt string) (nums []uint, err error)

Обрабатывает пользовательский ввод

Types

This section is empty.

Jump to

Keyboard shortcuts

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