On Sun, Jan 27, 2019 at 9:07 PM Kaveh Shahbazian <kaveh.shahbaz...@gmail.com>
wrote:

> How do you use Go modules with sub-packages?

Honest question, what do you mean by sub-package?

Given package import paths like, for example

        example.com/foo/bar/a

and

        example.com/foo/bar/a/b

package a is free to import package b. And package b is equally free to
import package a. Only it cannot happen simultaneously, that would be a
circular import.

-- 

-j

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to