From da92dfab81dd83e6d882ef9f1cec9b3a926d78d4 Mon Sep 17 00:00:00 2001 From: ehlxr Date: Wed, 2 Oct 2019 16:59:53 +0800 Subject: [PATCH] release v1.0.2 --- README.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e7d5aef..3ee59e2 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,12 @@ build with go get ➜ go get -u github.com/ehlxr/jwt ``` -build with go [dep](https://github.com/golang/dep) +build with make ``` ➜ git clone https://github.com/ehlxr/jwt.git -➜ cd jwt && dep ensure +➜ cd jwt && make install ``` or download [releases](https://github.com/ehlxr/jwt/releases) binary package. @@ -33,19 +33,39 @@ Usage: Available Commands: help Help about any command - show 查看 JWT Token + show JWT Token 查看 sign JWT 签名 verify JWT token 验证 + version Print version Flags: --config string config file (default is $HOME/.jwt.yaml) -h, --help help for jwt - -v, --version show version of the jwt. Use "jwt [command] --help" for more information about a command. ``` +## JWT version + +``` +➜ jwt version + + __ __ __ ______ + /\ \ /\ \ _ \ \ /\__ _\ + _\_\ \ \ \ \/ ".\ \ \/_/\ \/ +/\_____\ \ \__/".~\_\ \ \_\ +\/_____/ \/_/ \/_/ \/_/ + + + +Name: jwt +Version: v1.0.2 +BuildTime: 2019-10-02 16:56:20 +GitCommit: c546aaaee1b6a6b03eabf396f9cab01718e22104 +GoVersion: go version go1.13.1 darwin/amd64 +``` + ## sign JWT ```