3 ms·
Relative imports work, but keep in mind the import works based on package name. So "import ./foo", you must have a package called "foo" in "./foo" ---- Yes, i
by cpuguy83 8y ago
Relative imports work, but keep in mind the import works based on package name. So "import ./foo", you must have a package called "foo" in "./foo"
----
Yes, it is easy to forget that we use vendoring to get around these issues (and for other reasons).