Sean. Brilliant. I don't grasp how I missed the file:// setting. Works
beautifully and I am a grateful Gopher. THANK YOU.
On Monday, April 25, 2022 at 5:15:33 PM UTC-4 se...@liao.dev wrote:
> See https://go.dev/ref/mod#environment-variables
>
> GOPROXY=file://$(go env GOMODCACHE)/cache/download
See https://go.dev/ref/mod#environment-variables
GOPROXY=file://$(go env GOMODCACHE)/cache/download
- sean
On Mon, Apr 25, 2022 at 10:08 PM David Arsenault
wrote:
> Hello. I was hoping to get some smart advice on a problem using go on a
> closed network.
>
> Summary:
> - closed network, no ou
Hello. I was hoping to get some smart advice on a problem using go on a
closed network.
Summary:
- closed network, no outside access (painful, I know)
- moved all needed packages to ~/go/pkg...
- using go modules
Problem:
go mod insists on using the network (can't). When I set GOPROXY=off go mo
Back in 2016 the decision was "working as intended", ref:
https://github.com/golang/go/issues/16622#issuecomment-255391314
- sean
On Mon, Apr 25, 2022 at 5:58 PM 'Tim Hockin' via golang-nuts <
golang-nuts@googlegroups.com> wrote:
> We have some packages we would like to break out into their own
We have some packages we would like to break out into their own repos,
but which we don't really want anyone outside of our project to depend
on.
We could, of course, just document that. But I had this thought that
maybe Go's "internal" semantics could be applied here. So as a test,
we redirecte
strings.Replace(t.Format(time.RFC3339), "T0", "T", 1)
?
christoph...@gmail.com a következőt írta (2022. április 25., hétfő,
18:10:45 UTC+2):
> I need to format a time stamp hours in 24h format but without leading 0.
> This means 7 -> "7" and 17 -> "17".
>
> For 24h values, the only formatting k
I need to format a time stamp hours in 24h format but without leading 0.
This means 7 -> "7" and 17 -> "17".
For 24h values, the only formatting key value provided and documented is
15. But this produces "7" -> "07" and 17 -> "17" which is not what I need.
According to https://gosamples.dev/da
On Monday, April 25, 2022 at 2:12:35 AM UTC-4 kortschak wrote:
> I have sent https://go-review.googlesource.com/c/go/+/402074 to address
> this.
>
>
Dan,
For the second and subsequent lines,
for _, line := range lines[1:] {
line = bytes.TrimSpace(line)
// ...
}
Did you consider be
Hello,
I'm cross-compiling my Go application to Windows and I'm having difficulty
understanding how Windows interacts with stdout.
I'm compiling the Windows binary with the "-H=windowsgui" LD flag. This
works great but I've found that the program will never print to stdout,
even if the program