The main thing to remember is (from go help modules):

> A module is a collection of related Go packages.
> Modules are the unit of source code interchange and versioning.

Your module import path is github.com/dc0d/farsi.
Your module's v2 import path is github.com/dc0d/farsi/v2
etc.

Any packages in the module at those major versions are imported accordingly.
On Sun, 2 Sep 2018 at 13:31, Kaveh Shahbazian
<kaveh.shahbaz...@gmail.com> wrote:
>
> Thanks!
>
> Apparently it works now.
>
> And I am a bit confused now since version is part of both the path and the 
> version and it has to be imported like "github.com/dc0d/farsi/v2/calendar".
>
> But I guess understanding that is my homework - it just feels a bit odd!
>
> --
> 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.

-- 
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