1 //go:build release 2 // +build release 3 4 package pkcs11 5 6 import "fmt" 7 8 // Release is current version of the pkcs11 library. 9 var Release = R{1, 1, 1} 10 11 // R holds the version of this library. 12 type R struct { 13 Major, Minor, Patch int 14 } 15 16 func (r R) String() string { 17 return fmt.Sprintf("%d.%d.%d", r.Major, r.Minor, r.Patch) 18 } 19