containerd/vendor/github.com/miekg/pkcs11/release.go
Derek McGowan 9857afda44
Add vendor for github.com/containerd/imgcrypt
Updates to version using containerd v2.0.0-rc

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-28 13:49:34 -07:00

19 lines
321 B
Go

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