holsterv4/

directory
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0, Apache-2.0

README

What is this?

This is a vendored copy of 2 packages (clock and collections) from the github.com/mailgun/holster@v4.2.5 module.

The clock package was completely copied over and the following modifications were made:

  • pkg/errors was replaced with the stdlib errors package / fmt.Errorf's %w;
  • import names changed in blackbox test packages;
  • a small race condition in the testing logic was fixed using the provided mutex.

The collections package only contains the priority_queue and ttlmap and corresponding test files. The only changes made to those files were to adjust the package names to use the vendored packages.

Why

TL;DR: holster is a utility repo with many dependencies and even with graph pruning using it in oxy can transitively impact oxy users in negative ways by forcing version bumps (at the least).

Full details can be found here: https://github.com/vulcand/oxy/pull/223

Directories

Path Synopsis
Package clock provides the same functions as the system package time.
Package clock provides the same functions as the system package time.

Jump to

Keyboard shortcuts

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