sink

package
v0.0.0-...-34a9acd Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: EUPL-1.2 Imports: 6 Imported by: 0

README

The Kitchen Sink

This module contains miscellaneous snippets that I keep re-developing for other apps, so now they live here.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeLogging

func InitializeLogging(out *os.File) zerolog.Logger

InitializeLogging configures a dead simple `zerolog.Logger` and returns it.

func Must

func Must[T any](v T, err error) T

Must asserts that the return of a function with pattern (any, error) never errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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