Is there a tool that could change the imports across my package from absolute path to a relative path.
Currently my import for package bar
look like this :
import FOO_common/server/src/foo/bar
I want to convert this to
import foo/bar
Is there a tool like gofmt
that could do this for me ? I know I can solve this with bash sed
. However, am hoping for a go tool
that might exist out there for the same.