Sunday, March 3, 2024
HomeGolangAiring my discontent with Go - Getting Assist

Airing my discontent with Go – Getting Assist

I simply wished kind out a common submit about my expertise working with Go for the primary few makes an attempt.

By no means, by no means with every other language, have I had so many issues simply importing dependencies.

It doesn’t matter what I’ve tried, deleting my go.sum and operating go mod tidy, shifting my venture listing round to completely different places, Idk, what’s fallacious.

I exploit go get to get the bundle, it says the bundle is put in, however once I obtained so as to add it to my imports it simply can’t discover it. I bodily see it in my /usr/native/go listing, however my venture simply can’t discover it. It’s even worse with native imports as a result of it needs to be in GOPATH or GOROOT. Why pressure me to try this as an alternative of letting me navigate with a relative url to the bundle I wish to import.

If it weren’t for that my venture I’m engaged on completely requires Go I might have given up and moved on to one thing else a very long time once more.

Importing is essentially the most fundamental factor and for some motive go has determined it make tremendous convoluted and straightforward to interrupt with this language.

Is there some fundamental tips that simply aren’t properly documented for this?

Hmm. Are you able to possibly submit a replica of your go.mod? Which bundle are you making an attempt to import and unable to? Have you ever learn this?



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments