util

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) bool

Checks if the file at the provided path exists.

func ReadStdin

func ReadStdin() (string, error)

Reads all text from standard input and returns it as a string.

Returns an empty string if stdin is empty. Returns an error if there are any issues reading from stdin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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