made Version exported to match .goreleaser config.

addresses #143
This commit is contained in:
Mat Ryer 2021-02-14 13:07:18 +00:00 committed by GitHub
parent 98d503a331
commit 9a74351eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,8 @@ import (
"github.com/matryer/moq/pkg/moq" "github.com/matryer/moq/pkg/moq"
) )
// version is the command version, injected at build time. // Version is the command version, injected at build time.
var version string = "dev" var Version string = "dev"
type userFlags struct { type userFlags struct {
outFile string outFile string