From 4741efe1e6f79d318bc81619c08e7921ccb1f57f Mon Sep 17 00:00:00 2001 From: Mat Ryer Date: Fri, 14 Oct 2016 10:57:57 +0100 Subject: [PATCH] minor tweaks --- .gitignore | 1 + example/example.go | 2 +- main.go | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index daf913b..b15784e 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ _testmain.go *.exe *.test *.prof +.vscode diff --git a/example/example.go b/example/example.go index 6ef1b04..cc7d283 100644 --- a/example/example.go +++ b/example/example.go @@ -2,7 +2,7 @@ package example import "context" -//go:generate moq -out mockpersonstore_test.go PersonStore +//go:generate moq -out mockpersonstore_test.go . PersonStore type Person struct { ID string diff --git a/main.go b/main.go index 1d35af0..d58d2fd 100644 --- a/main.go +++ b/main.go @@ -19,6 +19,7 @@ func main() { fmt.Fprintln(os.Stderr, err) flag.Usage() os.Exit(1) + } }() var (