From 9a74351eb132fe3041f24c9c73aa1bce8021d878 Mon Sep 17 00:00:00 2001 From: Mat Ryer Date: Sun, 14 Feb 2021 13:07:18 +0000 Subject: [PATCH] made `Version` exported to match `.goreleaser` config. addresses #143 --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index d33d81f..80906e5 100644 --- a/main.go +++ b/main.go @@ -13,8 +13,8 @@ import ( "github.com/matryer/moq/pkg/moq" ) -// version is the command version, injected at build time. -var version string = "dev" +// Version is the command version, injected at build time. +var Version string = "dev" type userFlags struct { outFile string