[go-nuts] Re: Migrating to modules

2019-06-27 Thread Kasun Vithanage
According to this it will try to create an equivalent build. It will not break your code On Thursday, June 27, 2019 at 12:59:25 PM UTC+5:30, les...@gmail.com wrote: > > Thanks Kasun, > > One thing th

[go-nuts] Re: Migrating to modules

2019-06-27 Thread lesmond
Thanks Kasun, One thing that is not 100% clear is what packages and versions (more importantly) get set when you migrate to using modules. Is it the current version on the local disks? Lee -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To un

[go-nuts] Re: Migrating to modules

2019-06-26 Thread Kasun Vithanage
Yes you can easily migrate. Go will automatically generate mod files based on your projects. Just go into the project and run GO111MODULE=on go mod init and everything will be ok. If you are storing your projects in a VCS like Github just make sure you put repo name as the PROJECT NAME Ex: