fix golint error

This commit is contained in:
jichangjun 2020-08-13 15:01:39 +08:00
parent baeb4e27d5
commit d1576b9a70
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ import (
) )
// use a variable to record if the tested function has failed // 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 fatal = false
var fatalStr string var fatalStr string

View File

@ -2,6 +2,7 @@ package foo
import "fmt" import "fmt"
//Bar fake method
func Bar() { func Bar() {
fmt.Println("foo bar") fmt.Println("foo bar")
} }