[go-nuts] Go 1.13.3 and Go 1.12.12 are released

2019-10-17 Thread Alexander Rakoczy
Hello gophers, We have just released Go versions 1.13.3 and 1.12.12, minor point releases. These releases include fixes to the go command, the toolchain, the runtime, syscall, net, net/http, and crypto/ecdsa packages. View the release notes for more information:

[go-nuts] Need advice on AST formatting

2019-10-17 Thread Denis Cheremisov
Hi! I have a utility that parses Go files into AST , makes some changes on the tree (import paths) and format it back into the Go source code, in the original file. The problem is I am using format.Node function from this package. The formatting this

[go-nuts] Re: [security] Go 1.13.2 and Go 1.12.11 are released

2019-10-17 Thread Peter Kleiweg
I did a git pull. There is a tag go1.13.1, but no tag go1.13.2. Also, no tag go1.12.11. -- 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

[go-nuts] [security] Go 1.13.2 and Go 1.12.11 are released

2019-10-17 Thread Katie Hockman
Hi gophers, We have just released Go 1.13.2 and Go 1.12.11 to address a recently reported security issue. We recommend that all affected users update to one of these releases (if you’re not sure which, choose Go 1.13.2). Invalid DSA public keys can cause a panic in dsa.Verify. In particular,

[go-nuts] Re: Extending an array 'The right way'. Guidence needed!

2019-10-17 Thread Stuart Davies
Luis Thanks for you comments. I agree the limit for 'i' should be defined by the length of the smaller array. However in the loop, 'i' is always less than p.LineCount and p.LineCount would never be more than the array size. I could have used if p.LineCount = len(p.Offsets) But >= felt more

Re: [go-nuts] go runtime/stubs.go noescape

2019-10-17 Thread tokers
I did some experiments to mimic the noescape function and modify it with/without the "exclusive-or",but it seems no influence for the escape analysis, sigh. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop

Re: [go-nuts] go runtime/stubs.go noescape

2019-10-17 Thread tokers
Yes, I'm just curious about the effect of the "exclusive or". -- 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

[go-nuts] flag.PrintDefaults() messes up flags description new lines ?

2019-10-17 Thread Gert
Compared to go help doc output, it seems flag.PrintDefaults() messes up flags descriptions of go doc --help ? go doc --help Usage of [go] doc: go doc go doc go doc [.] go doc [].[.] go doc [.] For more information run go help doc Flags: -all show all documentation for package -c symbol