Categorygithub.com/siderolabs/gen
module
0.5.0
Repository: https://github.com/siderolabs/gen.git
Documentation: pkg.go.dev

# README

gen

Gen is a module, which provides a set packages containing functions and types, which are used across siderocprojects. More info in the documentation below.

Go Reference Build Status

# Packages

Package channel provides generic operations on channels.
nolint:revive,govet,nakedret,nlreturn,stylecheck,wsl,staticcheck,unused.
Package containers provides generic containers.
Package ensure provides a set of functions that panic if the error is not nil.
nolint:revive.
Package optional contains optional type.
Package pair contains Pair and Triple types.
Package value contains utility functions and types to work with values.
Package xerrors contains the additions to std errors package.
Package xslices contains a utility functions to work with slices.
Package xtesting provides a T interface wrapper around *testing.T.