utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dief

func Dief(format string, args ...interface{})

Dief formats according to a format specifier and writes to stderr. It then exits with code -1. Note a linebreak will be appended.

func WaitForSignal

func WaitForSignal(callback func())

WaitForSignal creates a channel and wait until desired signal arriving. It's a block call so be sure you're using it correctly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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