From 5ffea774fe3c9b6aeba01cfb2a824f9afb373d79 Mon Sep 17 00:00:00 2001 From: Wesley Hill Date: Fri, 13 Mar 2020 13:19:00 +0000 Subject: [PATCH] update minimum version + add explicit type --- .travis.yml | 5 +---- README.md | 2 +- branca.go | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0125a1f..95e4d88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,6 @@ language: go go: - - "1.9" - - "1.10" - - "1.11" - - "1.12" - "1.13" + - "1.14" - tip diff --git a/README.md b/README.md index 5223f48..a59be34 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ branca is a secure alternative to JWT, This implementation is written in pure Go # Requirements -Go 1.9+ +Go 1.13+ # Install diff --git a/branca.go b/branca.go index b19a4f9..23743f3 100644 --- a/branca.go +++ b/branca.go @@ -15,8 +15,8 @@ import ( ) const ( - version byte = 0xBA // Branca magic byte - base62 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + version byte = 0xBA // Branca magic byte + base62 string = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" ) var (