isStdLib checks if the current execution is for stdlib.
(args []string)
| 309 | |
| 310 | // isStdLib checks if the current execution is for stdlib. |
| 311 | func isStdLib(args []string) bool { |
| 312 | return slices.Contains(args, "-std") |
| 313 | } |
| 314 | |
| 315 | func packageSelectorMatch(selector, importPath string) bool { |
| 316 | if pkgPrefix, ok := strings.CutSuffix(selector, "..."); ok { |