(path string)
| 1035 | } |
| 1036 | |
| 1037 | func isErrorFactGoFile(path string) bool { |
| 1038 | path = filepath.ToSlash(path) |
| 1039 | if !(strings.HasPrefix(path, "cmd/") || strings.HasPrefix(path, "shortcuts/")) { |
| 1040 | return false |
| 1041 | } |
| 1042 | return strings.HasSuffix(path, ".go") && !strings.HasSuffix(path, "_test.go") |
| 1043 | } |
no outgoing calls
no test coverage detected