Skip to content
aerthPublic

About

lightweight helper packages

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

mostly

stackerr

Use stackerr.Errorf("%w", err) everywhere, and then log.Printf("%+v", err) for helpful error stack trace.

When using slog package, the trace is simplified to a single-line.

superchan

Cancellable Channel Context superchan

ncode

encoding, twist arrays ([]string -> []MyString -> []string)

anydb

store/fetch bbolt.DB helpers for nested buckets (path as [][]byte or []string)

(anydb was removed to keep go.mod empty)

httpserver

a cancellable, signal handling, httpserver+context combo for all kinds of web server programs

flagpkg

for InverseBoolVar (eg: --no-foo to set foo to false)

filters

for FilterCopy and FilterInPlace

unixtimestamp

json marshaller for using unix timestamp instead of json string

About

lightweight helper packages

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages