I've got a question about how to reference packages from within a project.
Assuming two files in my project "foo" are in separate packages "bar" and
"baz", I can easily enough reference one of those packages from the other
But then when I try to import anything from "foo/baz" into another project:
I get errors like:
import "foo/bar": import path doesn't contain a hostname
package foo/bar: unrecognized import path "foo/bar"
Should the imports in "foo/baz" have the hostname for the source repo of
the "foo" project itself in them or am I just missing something else?
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.