package
0.0.0-20210119145335-ad1462860f66
Repository: https://github.com/rmenendezdaw/angular_laravel_go_app.git
Documentation: pkg.go.dev

# Functions

Changed the c.MustBindWith() -> c.ShouldBindWith().
Using this function to get a connection, you can create your connection pool here.
No description provided by the author
A Util function to generate jwt_token which can be used in the request header.
No description provided by the author
Opening a database and save the reference to `Database` struct.
Warp the error info in a object.
NewClient : Creates a new client to use Redis.
To handle the error returned by c.Bind in gin framework https://github.com/go-playground/validator/blob/v9/_examples/translations/main.go.
A helper function to generate random string.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
Keep this two config private, it should not expose to open source.

# Variables

No description provided by the author

# Structs

My own Error type that will help return my customized Error info {"database": {"hello":"no such table", error: "not_exists"}}.
No description provided by the author
No description provided by the author
S_Users : Struct of the redis package.