gotools

module
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT

README

gotools

Miscellaneous tools for golang applications.

Plese refer to each directory for more details.

Directories

Path Synopsis
Package env provide functions to populate structs from environment variables using https://github.com/mitchellh/mapstructure.
Package env provide functions to populate structs from environment variables using https://github.com/mitchellh/mapstructure.
Package errgroup provides a panic handling wrapper around golang.org/x/sync/errgroup to avoid application crashes when a goroutine encounters a panic.
Package errgroup provides a panic handling wrapper around golang.org/x/sync/errgroup to avoid application crashes when a goroutine encounters a panic.
Package leader provides a good-enough leader pattern implementation using MySQL as the coordinator.
Package leader provides a good-enough leader pattern implementation using MySQL as the coordinator.
Package maps provides generic operations on maps, including map-based set operations.
Package maps provides generic operations on maps, including map-based set operations.
Package maths provides generic arithmetic operations.
Package maths provides generic arithmetic operations.
Package quiet provides cleanup functions for graceful shutdowns.
Package quiet provides cleanup functions for graceful shutdowns.
Package slices provides generic operations on slices, including map, reduce, split, and group by.
Package slices provides generic operations on slices, including map, reduce, split, and group by.
Package sqls provides SQL helper functions for queries and transactions to remove common boilerplate code.
Package sqls provides SQL helper functions for queries and transactions to remove common boilerplate code.

Jump to

Keyboard shortcuts

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