util/util_test.go
package util
import (
"fmt"
"testing"
)
func TestMax(t *testing.T) {
fmt.Println(Max(2, 3))
}
func Test001(t *testing.T) {
fmt.Println("Test001 run")
}
go test -v ./...
go test -v -run Test001 ./...
https://gitee.com/dyyx/hellocode/blob/master/demo/go/importdemo/util/util_test.go