From 4b96681fa6d28dd0ab5fe79bac63b3a493d9ee94 Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Tue, 9 Apr 2019 17:38:38 -0700 Subject: [PATCH] Updated version for license change release Signed-off-by: Derek Collison --- README.md | 2 +- nuid.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 16d8a73..16e5394 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![License Apache 2](https://img.shields.io/badge/License-Apache2-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![ReportCard](http://goreportcard.com/badge/nats-io/nuid)](http://goreportcard.com/report/nats-io/nuid) [![Build Status](https://travis-ci.org/nats-io/nuid.svg?branch=master)](http://travis-ci.org/nats-io/nuid) -[![Release](https://img.shields.io/badge/release-v1.0.0-1eb0fc.svg)](https://github.com/nats-io/nuid/releases/tag/v1.0.0) +[![Release](https://img.shields.io/badge/release-v1.0.1-1eb0fc.svg)](https://github.com/nats-io/nuid/releases/tag/v1.0.1) [![GoDoc](http://godoc.org/github.com/nats-io/nuid?status.png)](http://godoc.org/github.com/nats-io/nuid) [![Coverage Status](https://coveralls.io/repos/github/nats-io/nuid/badge.svg?branch=master)](https://coveralls.io/github/nats-io/nuid?branch=master) diff --git a/nuid.go b/nuid.go index d79e9ce..8134c76 100644 --- a/nuid.go +++ b/nuid.go @@ -1,4 +1,4 @@ -// Copyright 2016-2018 The NATS Authors +// Copyright 2016-2019 The NATS Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -31,7 +31,7 @@ import ( // Total is 22 bytes of base 62 ascii text :) // Version of the library -const Version = "1.0.0" +const Version = "1.0.1" const ( digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" @@ -105,7 +105,7 @@ func (n *NUID) Next() string { bs := b[:preLen] copy(bs, n.pre) - // copy in the seq in base36. + // copy in the seq in base62. for i, l := len(b), seq; i > preLen; l /= base { i -= 1 b[i] = digits[l%base]