Looks like a space is missing after the word “install”.
go install .../src/main/main.go
Edited to add: If you install
.go files directly, you might have to set the GOBIN environment variable. The usual form of
go install <package_name>
<package_name> is a package name, or the path to a package. When
<package_name>´ is omitted,go install` installs the package that it finds in the current directory.
So in your case, you can try
and this should compile and install your code.