Re: [go-nuts] go.mod: 1: module: not found

2021-02-02 Thread saurav deshpande
Okay, will try with a different approach Thank you On Wed, 3 Feb, 2021, 1:43 am Ian Lance Taylor, wrote: > On Tue, Feb 2, 2021 at 11:16 AM saurav deshpande > wrote: > > > > I tried by giving the module name as pathname by pushing the code to git > and created go.mod using that path, but still g

Re: [go-nuts] go.mod: 1: module: not found

2021-02-02 Thread Ian Lance Taylor
On Tue, Feb 2, 2021 at 11:16 AM saurav deshpande wrote: > > I tried by giving the module name as pathname by pushing the code to git and > created go.mod using that path, but still gives the same error. I'm sorry that didn't help, but I still expect that the problem is that "go build -n" is prin

Re: [go-nuts] go.mod: 1: module: not found

2021-02-02 Thread saurav deshpande
I tried by giving the module name as pathname by pushing the code to git and created go.mod using that path, but still gives the same error. Thank you On Tuesday, February 2, 2021 at 5:33:27 AM UTC+5:30 Ian Lance Taylor wrote: > On Mon, Feb 1, 2021 at 1:42 PM saurav deshpande > wrote: > > >

Re: [go-nuts] go.mod: 1: module: not found

2021-02-01 Thread Ian Lance Taylor
On Mon, Feb 1, 2021 at 1:42 PM saurav deshpande wrote: > > it just contains: > > module babyLotus > > go 1.15 The module name should probably be a path name. I bet that "go build -n" is printing an error, and you are piping that error to sh. Ian > On Tuesday, February 2, 2021 at 3:04:39 AM UT

Re: [go-nuts] go.mod: 1: module: not found

2021-02-01 Thread saurav deshpande
it just contains: module babyLotus go 1.15 On Tuesday, February 2, 2021 at 3:04:39 AM UTC+5:30 Ian Lance Taylor wrote: > On Mon, Feb 1, 2021 at 11:24 AM saurav deshpande > wrote: > > > > We have a go.mod file. > > The same make file worked with go 1.9.7 version, it did not support mod. > > I

Re: [go-nuts] go.mod: 1: module: not found

2021-02-01 Thread Ian Lance Taylor
On Mon, Feb 1, 2021 at 11:24 AM saurav deshpande wrote: > > We have a go.mod file. > The same make file worked with go 1.9.7 version, it did not support mod. > I am trying to make this work with go 1.15, can you please suggest changes > that would make this work. What does your go.mod file look

Re: [go-nuts] go.mod: 1: module: not found

2021-02-01 Thread saurav deshpande
We have a go.mod file. The same make file worked with go 1.9.7 version, it did not support mod. I am trying to make this work with go 1.15, can you please suggest changes that would make this work. Thank you On Tuesday, February 2, 2021 at 12:48:51 AM UTC+5:30 Ian Lance Taylor wrote: > On Mon

Re: [go-nuts] go.mod: 1: module: not found

2021-02-01 Thread Ian Lance Taylor
On Mon, Feb 1, 2021 at 10:35 AM saurav deshpande wrote: > > Hello, I am trying to run a make file but it gives me the following error: > go.mod: 1: module: not found > go 1.15: unknown command ... > go.o: > @mkdir -p $(BUILD_DIR) > @echo "[go] compiling go sources into a standalone .o file" > ec