Compare commits

...

6 Commits

Author SHA1 Message Date
ehlxr bcb7b5a22f update at 2020-12-09 16:34:02 by ehlxr 2020-12-09 16:34:02 +08:00
ehlxr c0e23cc757 update at 2020-12-09 16:32:11 by ehlxr 2020-12-09 16:32:11 +08:00
ehlxr 6389f7ebc5 update at 2020-09-27 10:14:17 by ehlxr 2020-09-27 10:14:17 +08:00
ehlxr 5616eb36af update at 2020-09-27 10:12:25 by ehlxr 2020-09-27 10:12:25 +08:00
ehlxr f4efb61949 update license 2020-05-21 16:25:06 +08:00
ehlxr 47119deb83 update go mod dependency 2020-04-10 14:35:49 +08:00
15 changed files with 46 additions and 53 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
Copyright © 2020 xrv <xrg@live.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -38,7 +38,7 @@ upx:
@# -upx $(DIST_DIR)**
upx $(DIST_DIR)**
release: build upx
release:
ifneq ($(shell type ghr >/dev/null 2>&1;echo $$?), 0)
@echo "Can't find ghr command, will start installation..."
cd ~ && go get -v -u github.com/tcnksm/ghr && cd $(ROOT_DIR)

View File

@ -11,13 +11,13 @@
# Install
build with go get
## build with go get
```
➜ go get -u github.com/ehlxr/jwt
```
build with make
## build with make
```
➜ git clone https://github.com/ehlxr/jwt.git

View File

@ -1,4 +1,4 @@
// Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal

View File

@ -1,4 +1,4 @@
// Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal

View File

@ -1,4 +1,4 @@
// Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal

View File

@ -1,4 +1,4 @@
// Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal

View File

@ -1,24 +1,23 @@
/*
Copyright © 2019 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
package cmd
import (

32
go.mod
View File

@ -3,30 +3,24 @@ module github.com/ehlxr/jwt
go 1.13
require (
github.com/atotto/clipboard v0.1.0
github.com/chzyer/logex v1.1.10 // indirect
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect
github.com/atotto/clipboard v0.1.2
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/lunixbochs/vtclean v1.0.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/manifoldco/promptui v0.0.0-20180308161052-c0c0d3afc6a0
github.com/mattn/go-colorable v0.1.2 // indirect
github.com/mattn/go-isatty v0.0.9 // indirect
github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/pelletier/go-toml v1.4.0 // indirect
github.com/manifoldco/promptui v0.7.0
github.com/mattn/go-colorable v0.1.6 // indirect
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.3.1 // indirect
github.com/pelletier/go-toml v1.7.0 // indirect
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cast v1.3.0 // indirect
github.com/spf13/cobra v0.0.2
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/cobra v0.0.7
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.0.2
golang.org/x/sys v0.0.0-20190927073244-c990c680b611 // indirect
github.com/spf13/viper v1.6.3
golang.org/x/sys v0.0.0-20200409092240-59c9f1ba88fa // indirect
golang.org/x/text v0.3.2 // indirect
gopkg.in/ini.v1 v1.55.0 // indirect
// jwt v0.0.0-00010101000000-000000000000
)

View File

@ -1,4 +1,4 @@
// Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal

View File

@ -1,4 +1,4 @@
// Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal

View File

@ -1,4 +1,4 @@
// Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal

View File

@ -1,4 +1,4 @@
// Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal

View File

@ -1,4 +1,4 @@
// Copyright © 2018 ehlxr <ehlxr.me@gmail.com>
// Copyright © 2020 xrv <xrg@live.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal

View File

@ -1 +1 @@
v1.0.2
v1.0.3