inout

package
v0.0.0-...-eb2fa4d Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Input and output

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadByte

func ReadByte(r io.Reader) (byte, error)

ReadByte reads a single byte from r. EOF is returned as an error.

func ReadLine

func ReadLine(r io.Reader) ([]byte, error)

ReadByte reads bytes from r until a newline character ('\n') or EOF. EOF is returned as an error.

NOTE: This is an expensive function as allocates new for byte read.

func ReadString

func ReadString(p string) (string, error)

ReadString print prompt p and read a string from stdin. Returns the input string without the newline suffix ("\n").

Types

This section is empty.

Directories

Path Synopsis
Package colorz colorize the terminal output.
Package colorz colorize the terminal output.
Send desktop notifications with notify-send
Send desktop notifications with notify-send
A simple package for logging.
A simple package for logging.
Provides basic API for pinentry
Provides basic API for pinentry

Jump to

Keyboard shortcuts

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