Check for added large files..............................................Passed
Don't commit to branch...................................................Passed
Fix End of Files.........................................................Passed
Trim Trailing Whitespace.................................................Passed
Check Yaml...............................................................Passed
goimports................................................................Failed
- hook id: goimports
- exit code: 1
Executable `goimports` not found
When running Go pre hook commit I am getting the above error. I did try to install golang.org/x/tools/cmd/goimports but it still gives me the error. Any suggestion how to resolve this will be appreciated