Skip to content

crestalnetwork/crestal-go-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages