o1egl / paseto

Platform-Agnostic Security Tokens implementation in GO (Golang)
MIT License
833 stars 34 forks source link

Changes for 1.13 #14

Closed sharonjl closed 4 years ago

sharonjl commented 4 years ago

Removed dependency on github.com/pkg/errors. Updated golang.org/x/crypto/ed25519 to crypto/ed25519. Updated test files.

These are api breaking changes, error checking and ed25519 code dependent on this version of paseto will need to be updated.

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 223


Changes Missing Coverage Covered Lines Changed/Added Lines %
utils.go 0 2 0.0%
parser.go 2 5 40.0%
v2.go 8 17 47.06%
v1.go 8 23 34.78%
<!-- Total: 25 54 46.3% -->
Files with Coverage Reduction New Missed Lines %
parser.go 1 93.22%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 63: -0.3%
Covered Lines: 463
Relevant Lines: 528

💛 - Coveralls
o1egl commented 4 years ago

@sharonjl great job! But I want to support at least 2 latest GO releases. I propose to use golang.org/x/xerrors which implements 1.13 features.

o1egl commented 4 years ago

Closed due to not responding