p11.Session is an interface, which is helpful for use cases where a downstream user needs to re-implement the API. Alas, p11.Slot is not an interface, which makes such use cases rather unpleasant. Would a PR be accepted that makes p11.Slot an unexported struct and adds a public p11.Slot interface to replace it?
p11.Sessionis an interface, which is helpful for use cases where a downstream user needs to re-implement the API. Alas,p11.Slotis not an interface, which makes such use cases rather unpleasant. Would a PR be accepted that makesp11.Slotan unexported struct and adds a publicp11.Slotinterface to replace it?