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 (