Utility Belt

Shared utility libraries used across PunkSky projects. One project, two ecosystems — common helpers and patterns for Go and C#.

Get started:

The Go module provides reusable packages for configuration, logging, HTTP helpers, and other cross-cutting concerns used by PunkSky services such as PunkProxy.

Module path: go.punksky.com/utilitybelt

Tip

Browse available packages at go.punksky.com/utilitybelt.

Install

BASH
go get go.punksky.com/utilitybelt

Import a subpackage in your code:

GO
import "go.punksky.com/utilitybelt/<subpackage>"

Replace <subpackage> with the package you need. See the module index for the full list.

Contributing

Utility Belt is part of the PunkSky open-source stack. Source lives on https://git.punksky.com/punksky/utilitybelt.git/.

The .NET packages mirror the Go utilities for PunkSky C# projects. Packages are published to NuGet under the PunkSky.UtilityBelt prefix.

Package ID prefix: PunkSky.UtilityBelt.*

Tip

Search NuGet for PunkSky.UtilityBelt to browse available packages.

Install

Add a package to your project:

BASH
dotnet add package PunkSky.UtilityBelt.<PackageName>

Or via the Package Manager Console:

POWERSHELL
Install-Package PunkSky.UtilityBelt.<PackageName>

Replace <PackageName> with the specific utility package you need.

Contributing

Utility Belt is part of the PunkSky open-source stack. Source lives on https://git.punksky.com/punksky/utilitybelt-net.git/.