From d1576b9a701ca77a8f2c7cc6cdf3fea2db59e9c0 Mon Sep 17 00:00:00 2001 From: jichangjun Date: Thu, 13 Aug 2020 15:01:39 +0800 Subject: [PATCH] fix golint error --- cmd/merge_test.go | 2 +- tests/samples/gomod_replace_library/bar.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/merge_test.go b/cmd/merge_test.go index ee35d79..afb7302 100644 --- a/cmd/merge_test.go +++ b/cmd/merge_test.go @@ -27,7 +27,7 @@ import ( ) // use a variable to record if the tested function has failed -// so unittest can only be exectued sequential +// so unittest can only be executed sequential var fatal = false var fatalStr string diff --git a/tests/samples/gomod_replace_library/bar.go b/tests/samples/gomod_replace_library/bar.go index 7307d25..741f116 100644 --- a/tests/samples/gomod_replace_library/bar.go +++ b/tests/samples/gomod_replace_library/bar.go @@ -2,6 +2,7 @@ package foo import "fmt" +//Bar fake method func Bar() { fmt.Println("foo bar") }