src: fix path for Go modules mode compatibility

Switching to Go modules mode, which is the default dep
management mode in newer Go versions, requires that all
non standard-library import paths be prefixed with an URL.

This is due to the the fact that direct import paths are
now reserved strictly for the Go standard library pkgs
and all non-std pkgs are required to have an URL prefix.

Renaming the filesystem path itself (not just the import
directives) is required because we are still using GOPATH
mode fow now and will enable the transition gradually in
all CrOS projects.

TEST=Local builds; CQ.

Cq-Depend: chromium:3673616
Change-Id: I393a4cc3c7735b9fe9fd9f8fca4273e790619570
Tested-by: Manoj Gupta <>
Commit-Queue: Manoj Gupta <>
Auto-Submit: Adrian Ratiu <>
Reviewed-by: Po-Hsien Wang <>
Reviewed-by: Manoj Gupta <>
76 files changed