go-macaroon / macaroon

A native Go implementation of macaroons
BSD 3-Clause "New" or "Revised" License
182 stars 24 forks source link

export Base64Decode function #19

Closed rogpeppe closed 7 years ago

rogpeppe commented 7 years ago

It doesn't seem large enough to merit its own package, and it's useful to have the lax base64 decoding functionality in other macaroon-related packages.

We also expand the range of encoding possibilities, because having just padded-standard and unpadded-URL seems somewhat too arbitrary.