goutilities

package module
v0.0.0-...-1a4fc35 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: MIT Imports: 0 Imported by: 0

README

Go Reference

go-utilities

Miscellaneous useful shared Go packages by Cleverse. Forked and maintained by LightArray Capital

utils

Minimalist pure Golang optimized generic utilities.

See here.

errors

Minimalist and zero-dependency errors library with stacktrace support for Go (for wrapping and formatting an errors).

See here.

nullable

A safe way to represent nullable primitive values in Go. Supports JSON serialization.

See here.

queue

Minimalist and zero-dependency low-level and simple queue library for thread-safe and unlimited-size generics in-memory message queue library for Go (async enqueue and blocking dequeue supports).
The alternative way to communicate between goroutines compared to channel

See here.

address

High efficient and minimal utilities library that will help you to work with Ethereum addresses easier. (a go-ethereum helper library)

See here.

fixedpoint

A shopspring/decimal wrapper library for fixed point arithmetic operations.

See here.

logger

A logger utility library, with support for TEXT and JSON logging (with optional GCP log format support). Supports embedding log attributes in context.

See here.

httpclient

Simple valyala/fasthttp wrapper library with user-friendly interface and built-in request/response acquire and release.

See here.

postgres

postgres provides a wrapper around pgx/v5 for connecting to PostgreSQL databases. It simplifies configuration, connection pooling, and integrates structured logging with slog.

See here.

redis

redis provides a wrapper around go-redis (v9) for connecting to Redis servers. It simplifies configuration and integrates structured logging with slog.

See here.

cloudkms

cloudkms provides a simplified wrapper around the Google Cloud Key Management Service (KMS) API, making it easier to encrypt and decrypt data using Cloud KMS keys.

See here.

encryption

encryption provides simple and secure encryption utilities using ChaCha20-Poly1305, with base64 encoding/decoding support.

See here.

errs

errs defines a set of common application errors, built on top of cockroachdb/errors.

See here.

automaxprocs

Automatically set GOMAXPROCS to match Linux container CPU quota by calling automaxprocs.Init().

See here.

validator

A simple validation utility for collecting and managing validation errors. Supports boolean and error-based validation with formatted error messages. Forked from moonrhythm/validator.

See here.

Documentation

Overview

Package go-utilities provides a miscellaneous useful shared Go packages by [Cleverse].

Packages

  • utils: Minimalist pure Golang optimized generic utilities.
  • errors: Minimalist and zero-dependency errors library with stacktrace support for Go (for wrapping and formatting an errors).
  • queue: Minimalist and zero-dependency low-level and simple queue library for thread-safe and unlimited-size generics in-memory message queue library for Go (async enqueue and blocking dequeue supports). The alternative way to communicate between goroutines compared to `channel`
  • address: High efficient and minimal utilities library that will help you to work with Ethereum addresses easier. (a [go-ethereum] helper library)
  • fixedpoint: A shopspring/decimal wrapper library for fixed point arithmetic operations.

Directories

Path Synopsis
cloudkms module
encryption module
errs module
fixedpoint module
logger module
nullable module
postgres module
utils module
validator module

Jump to

Keyboard shortcuts

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