This commit is contained in:
18
vendor/github.com/miekg/pkcs11/release.go
generated
vendored
Normal file
18
vendor/github.com/miekg/pkcs11/release.go
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
//go:build release
|
||||
// +build release
|
||||
|
||||
package pkcs11
|
||||
|
||||
import "fmt"
|
||||
|
||||
// Release is current version of the pkcs11 library.
|
||||
var Release = R{1, 1, 1}
|
||||
|
||||
// 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)
|
||||
}
|
Reference in New Issue
Block a user