just a demo project how to use jwt sign and parse its based out of the library golang-jwt v4
// this is enough one time in the hole project
JWT, err := jwt.New()
if err != nil {
// handle error
}
token, err := JWT.Sign(123456)
if err != nil {
// handle error
}
claims, err := JWT.Parse(token)
if err != nil {
// handle error
}