package
0.0.0-20171103115606-9423bbefbc22
Repository: https://github.com/wangzitian0/golang-gin-starter-kit.git
Documentation: pkg.go.dev

# Functions

Changed the c.MustBindWith() -> c.ShouldBindWith().
A Util function to generate jwt_token which can be used in the request header.
Using this function to get a connection, you can create your connection pool here.
Opening a database and save the reference to `Database` struct.
Warp the error info in a object.
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.
Delete the database after running testing cases.
This function will create a temporarily database for running testing cases.

# 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