I think he is pointing out the problem I’ve asked about many times that using the specified import path so ‘go get’ works is a problem. If I want to move my repos to another account all referencing code breaks.
The import paths need a logical reference. Think Java and package names. The package name remains constant, where it is located/retrieved from changes all the time (classpath) I am assuming I’ve always misunderstood this, but nothing that was ever stated cleared it up, so I just went with, well I guess I don’t understand and move along... > On Dec 12, 2018, at 9:36 AM, Wagner Riffel <wgrrif...@gmail.com> wrote: > > Go has nothing to do with github, you can have any import path and how many > repos you like as long as it exists on your file system inside $GOPATH/src > -wgr > >> On Wed, Dec 12, 2018, 10:13 AM Sotirios Mantziaris <smantzia...@gmail.com> >> wrote: >> Hi, >> >> i want to move a repo from my github account to another one. Goal is to have >> a new import path for the new forked repository. >> There are 2 ways of achieving the move: >> Forking >> Transfer repository >> Is it possible to fork a repo and change the import path of the repository? >> >> If the transfer option is chosen we just have to change all imports in the >> code, which severs the ties for the originating project. >> >> Is it possible to have: >> both repos >> every repo with it's own import path >> code exchange between them >> What are the options? >> -- >> 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. -- 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.