mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
18 lines
302 B
Go
18 lines
302 B
Go
|
// +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)
|
||
|
}
|