Deprecate the unused ImportDirectory type
The debug/pe.ImportDirectory type will be marked deprecated. It was added about 15 years ago, but no function or field in the package ever returns or accepts it, so it has never been usable.
The type stays in the package for compatibility. A // Deprecated: comment will tell tools and linters to flag any remaining uses. No functionality is removed.
- Proposal
- #81594 by cherrymui
- Status
- Implemented on Oct 15, 2026
- Release
- Go 1.28
- Impact
- low
- Area
- debug/pe