go test 覆盖率报告

go test -coverprofile=coverage.out
go tool cover -html=coverage.out

对指定目录

go test ./... -coverprofile=coverage.out
go tool cover -html=coverage.out