Re: [go-nuts] how to control the timezone of time.Now()

2021-10-28 Thread 'Axel Wagner' via golang-nuts
FWIW, based on a quick test, setting TZ="" also leads to a non-nil loc field: https://play.golang.org/p/LJJSTq7R1NA So, `time.Local = time.UTC` at least shouldn't lead to more adverse effects than setting TZ="". On Thu, Oct 28, 2021 at 8:58 AM Uli Kunitz wrote: > I believe time.Local = time.UTC

[go-nuts] Amateur's questions about "Go lang spec"

2021-10-28 Thread Kamil Ziemian
Hello, >From what I understand proper Gopher read at least one time "The Go Programming Language Specification" (https://golang.org/ref/spec) and now I need to read it too. I learn something of Extended Backus-Naur Form to understand it, so if I say something stupid beyond belief, I hope you w

[go-nuts] Re: Amateur's questions about "Go lang spec"

2021-10-28 Thread Sean Liao
There isn't much to it, a "production_name" is just an identifier for the set of values defined on the other side of the =, some of which may also be identifiers that should be dereferenced/expanded If it helps, there's a wikipedia entry on it: https://en.wikipedia.org/wiki/Extended_Backus%E2%8

[go-nuts] HTTPS call with error "The system cannot find the file specified"

2021-10-28 Thread Daniel Hemmerling
I got an unexpected error *The system cannot find the file specified.* when calling method `RoundTrip(req *Request)` from `http.Transport`. *Error occurs on a Windows 10 Enterprise (19041) maschine. Not my maschine, so no debugging.* *Implementation* This go application is only a simple revers