go-macaroon / macaroon

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

fix unmarshaling for Go tip #21

Closed rogpeppe closed 7 years ago

rogpeppe commented 7 years ago

The Go compiler has been fixed so that unexported embedded struct fields cannot be assigned to. This fix makes macaroon JSON unmarshaling work with that.