summaryrefslogtreecommitdiff
path: root/vendor/github.com/miekg/pkcs11/release.go
blob: 4380f374d28be6c5e4d03c5f2ba322f6121a8dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// +build release

package pkcs11

import "fmt"

// Release is current version of the pkcs11 library.
var Release = R{1, 0, 3}

// 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)
}