luet/vendor/github.com/miekg/pkcs11/release.go
Ettore Di Giacinto f8989e464e Update vendor
2021-03-11 17:57:59 +01:00

18 lines
302 B
Go

// +build release
package pkcs11
import "fmt"
// Release is current version of the pkcs11 library.
var Release = R{1, 0, 2}
// R holds the version of this library.
type R struct {
Major, Minor, Patch int
}
func (r R) String() string {
return fmt.Sprintf("%d.%d.%d", r.Major, r.Minor, r.Patch)
}