summaryrefslogtreecommitdiff
path: root/vendor/github.com/miekg/pkcs11/release.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/miekg/pkcs11/release.go')
-rw-r--r--vendor/github.com/miekg/pkcs11/release.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/github.com/miekg/pkcs11/release.go b/vendor/github.com/miekg/pkcs11/release.go
new file mode 100644
index 000000000..4380f374d
--- /dev/null
+++ b/vendor/github.com/miekg/pkcs11/release.go
@@ -0,0 +1,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)
+}