Skip to content

diegoclair/go_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 slog package with some extra functionality

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

Watchers

Forks

Packages

No packages published

Languages