On Tue, Jan 12, 2021 at 1:20 PM Kevin Chadwick <m8il1i...@gmail.com> wrote:

> I guess it's the
>
> Call code in an external package
> "https://golang.org/doc/tutorial/getting-started";
>
> That is a little hairy.
>

What is hairy about this? To me, that seems like pretty simple steps:
1. Find the library you need and add an import
2. Run "go mod init foo"
3. Write code that uses the library

Again, would be interesting how other languages can make this simpler,
because I genuinely can't imagine.


> > 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
> .
>

-- 
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/CAEkBMfEg--yLK6SwvHFuvz%3DT6rNJHDJmZ0wwpOYWFbL%2BmyS0Jg%40mail.gmail.com.

Reply via email to