Skip to content
diegoclairPublic

About

Go utils with comon errors, dates, crypto and mysql errors

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

85 Commits

Folders and files

Repository files navigation

go_utils Package

ci workflow GitHub tag

Description

This package provides a collection of utility packages that assist with basic tasks in Go.

Packages

resterrors Package

This package provides a structure and functions for handling errors in a RESTful format. For more details, refer to the resterrors README.

mysqlutils Package

This package provides a function for handling MySQL errors and converting them into RESTful errors. For more details, refer to the mysqlutils README.

dateutils Package

This package provides functions for handling and formatting dates and times. For more details, refer to the dateutils README.

validator Package

This package provides a custom validator for Go structs, with additional validations for Brazilian CPF and CNPJ numbers. For more details, refer to the validator README.

logger

This package provides a logging wrapper for the zap package with some extra functionality. For more details, refer to the logger README.

config Package

This package provides a generic configuration loader built on top of viper, supporting file-based config with environment variable overrides and hot-reload. For more details, refer to the config README.

Contribution

If you want to contribute, just open a PR and I'll validate it =]

About

Go utils with comon errors, dates, crypto and mysql errors

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages