On Tue, Jan 12, 2021 at 10:26 AM Kevin Chadwick <m8il1i...@gmail.com> wrote:

> Inspired by:
>
> "https://twitter.com/rakyll/status/1348723364894961666";
>
> "Yet another couple of hours spent on go.mod and go.sum. If I was giving
> #golang
> a first try today, I'd just give up and look for another option. What are
> we
> doing as a community to address this?"
>
> Couldn't go have a folder based Go create command akin to Flutter create.
> That
> creates a project in the current folder perhaps with a unique 128 bit ID
> or just
> local folder based. IOW Hybrid between Go Path and Go mod (cd based, no
> GOPATH
> env). Maybe there could be a Go import for adding another folder as a lib
> to the
> .mod file?
>

I don't understand what you are suggesting here. ISTM creating a new Go
project folder is

git init
go mod init <module-path>

I guess you *could* safe the `git init` part, but is that really worth the
added complexity?

FTR, I don't think what you are trying to solve here is a problem Jaana is
having. But I also don't really know where her problems lie - I assume it
has something to do with what the ecosystem around Kubernetes does, which I
don't really use, so that I don't encounter them.


> I still get network calls that I don't want, too.


AIUI adding `-mod readonly` should address most of that and I think I
remember that this has become the default in more situations in go 1.16.
So, your problems might just go away soon.

Sometimes I am in one
> folder down and get odd failure messages WRT domains, before realising too.
>
> --
> 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/452f4e85-7ddb-9a55-f888-0a93d37f502c%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/CAEkBMfHWXLvt52G76%2BpkhQnA4J4m3RQRdbHuxDRQS-o9MybdSg%40mail.gmail.com.

Reply via email to