term

package
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileOrStdin

func FileOrStdin(path string) (file *os.File, deferFunc func(), err error)

FileOrStdin ファイルパス、または標準入力をオープンする

pathに空文字または"-"を指定した場合に標準入力が利用される

func IsTerminal

func IsTerminal() bool

IsTerminal 標準入力/出力が端末か判定する

Types

This section is empty.

Jump to

Keyboard shortcuts

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