Pre-hook for goimports