Skip to content

Releases: Deirror/servette

Deirrorz Utilities (dutils) — Release v1.2.1

Choose a tag to compare

@Deirror Deirror released this 11 Aug 09:54

Deirrorz Utilities (dutils) is a lightweight Go utility library with common helpers and wrappers for building robust web services. It simplifies configuration, JSON handling, JWT tokens, password hashing, OAuth, logging, and more.
Features

cfg: Typed config structs with fluent .With... chaining and support for multi-prefix configs.

crypto: Secure password hashing and comparison using bcrypt.

db: Enhanced sql.DB wrapper with connection pool controls.

env: Helpers to load environment variables and .env files safely.

http: Simplified HTTP server setup, path/query parsing, and handler wrappers.

json: Standardized JSON encoding and decoding helpers.

jwt: JWT token generation, validation, and cookie management.

logger: Minimal structured logging using Go’s slog.

mail: Prebuilt HTML email templates for business use.

oauth: Config wrappers for Google, Facebook, and GitHub OAuth 2.0.