(path string, data string)
| 265 | } |
| 266 | |
| 267 | func writeFile(path string, data string) { |
| 268 | err := os.WriteFile(path, []byte(data), 0o644) |
| 269 | if err != nil { |
| 270 | log.Fatal(err) |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | func getModules() []string { |
| 275 | ignoreRe := regexp.MustCompile(`golang\.org/x/|github\.com/syncthing|^[^.]+(/|$)`) |
no test coverage detected