On 1/12/21 9:39 AM, Artur Vianna wrote:
> I don't think this tweet is very true, it took me many months of learning Go 
> to
> start learning about go.mod. I think that's not the first thing one learns 
> about
> a language, you can just 'vim main.go' and begin experimenting.
>

Fair enough. I had forgotten how easy that is tbh. I did that too, though my
experience was importing packages quite quickly.

I guess it's the

Call code in an external package
"https://golang.org/doc/tutorial/getting-started";

That is a little hairy.

> How do you propose this tool will work?

Not sure exactly. I guess it would ask for remote Git or local Folder/Git option
and maybe folders to import. Then create a .mod and file with main() and those
imports. Maybe I should just be using filesystem links instead of replace
though. I might have tried that and ran into issues though. I should probably
just set up a local git server and /etc/hosts

It just seems that manually editing a .mod with replace entries as well as
imports in the project files to a non existent url location is a bolt on and not
a thoughtful solution.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/a3c5862e-460a-796f-40cc-4d605c8c4e36%40gmail.com.

Reply via email to