s

module
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: Apache-2.0

README

Go Snippets

CI Godoc Slack chat

Copy these independent snippets or import them as micro packages.

Development
  • Pre-requisites: go, golangci-lint, GNU make
  • Build with make
  • View build options with make help

Directories

Path Synopsis
cmd
retry
Command retry re-runs a command a number of times until it succeeds.
Command retry re-runs a command a number of times until it succeeds.
timeout
Command timeout runs a command, stopping it after a duration.
Command timeout runs a command, stopping it after a duration.
Package errs provides error wrapping functions that allow an error to wrap multiple errors.
Package errs provides error wrapping functions that allow an error to wrap multiple errors.
Package httpe provides a model of HTTP handler that returns errors.
Package httpe provides a model of HTTP handler that returns errors.
Package kongx provides utility functions to github.com/alecthomas/kong such as parsing field value from a JSON file via the CustomMapper JSONFileMapper.
Package kongx provides utility functions to github.com/alecthomas/kong such as parsing field value from a JSON file via the CustomMapper JSONFileMapper.
Package mock provides mocking utilities used in tests.
Package mock provides mocking utilities used in tests.
Package str provides string utilities.
Package str provides string utilities.
Package test includes small test helpers, as is appropriate for this snippets module.
Package test includes small test helpers, as is appropriate for this snippets module.
Package timex provides stdlib time package related utilities.
Package timex provides stdlib time package related utilities.

Jump to

Keyboard shortcuts

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