internal

package
v0.0.0-...-5aad845 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(url string) (string, error)

Fetch fetches the given url and returns the response body as a string.

func FireAndForget

func FireAndForget(f func(), wg ...*sync.WaitGroup)

FireAndForget executes `f()` in a new go routine and auto recovers if panic.

**Note:** Use this only if you are not interested in the result of `f()` and don't want to block the parent go routine.

func ListenForInput

func ListenForInput(ch chan keys.Key) error

ListenForInput listens for input from the user.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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