GetNamespaceImportPackages returns normalized package names configured for namespace imports. Defaults to an empty list when unset.
()
| 298 | // GetNamespaceImportPackages returns normalized package names configured for namespace imports. |
| 299 | // Defaults to an empty list when unset. |
| 300 | func (e *EffectPluginOptions) GetNamespaceImportPackages() []string { |
| 301 | if e == nil { |
| 302 | return []string{} |
| 303 | } |
| 304 | return normalizePackageList(e.NamespaceImportPackages) |
| 305 | } |
| 306 | |
| 307 | // GetBarrelImportPackages returns normalized package names configured for barrel imports. |
| 308 | // Defaults to an empty list when unset. |