util
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
pointerUtility functions for working with pointers in a type-safe and ergonomic way using Go generics.
jwt
jwtWrapper around
github.com/golang-jwt/jwt/v5for creating and validating JWTs, supporting multiple signing methods (HS256,RS256).
slice
sliceGeneric slice manipulation helpers.
Last updated