Categorygithub.com/crestalnetwork/crestal-go-utils
repository
0.0.10
Repository: https://github.com/crestalnetwork/crestal-go-utils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Crestal Go Utils

This package provides a toolbox for crestal golang projects.
In these utilities, we prioritize the 12-factor principles.

go report card MIT license Go.Dev reference

Logger

this package use standard slog package for logging, so if you set the global default logger anywhere, it will be used by this package.

  slog.SetDefault(YOUR_LOGGER)

xlog

A wrapper around the standard slog package that offers a New function for easily creating a logger.

xconfig

Load configuration from environment variables, docker/k8s secrets, aws systems manager or secret manager.

xerr

A custom error type which implements the error interface and provides additional information about the error.

xfiber

Utilities for fiber web framework.

xutils

Utilities for general purpose.