util/

directory
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT

README

Contributions Welcome Release

Utility Packages for Common Operations

The util directory provides a collection of reusable helper utilities designed to simplify and standardize common tasks across your Go projects. These utilities are generic, lightweight, and decoupled from business logic, making them easy to use across any microservice in your ecosystem.

Available Packages

pointer
  • Utility functions for working with pointers in a type-safe and ergonomic way using Go generics.
jwt
  • Wrapper around github.com/golang-jwt/jwt/v5 for creating and validating JWTs, supporting multiple signing methods (HS256, RS256).
slice
  • Generic slice manipulation helpers.

Directories

Path Synopsis
jwt
example command
mocks
Package jwt_mocks is a generated GoMock package.
Package jwt_mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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