[go-nuts] Re: Can't read >32KBytes from http response body.

2022-06-22 Thread Kevin Chowski
Do you have a self-contained reproducer? E.g., a single Go program that hosts a server (either using the server functionality from package net/http, or hard-coded HTTP responses) and shows that using the client logic in net/http causes this problem? Preferably shared via play.golang.org link. I

Re: [go-nuts] Misunderstaing the Language spec on Type parameter declarations

2022-06-22 Thread Ian Lance Taylor
On Wed, Jun 22, 2022 at 3:22 PM Millicent Caputitl wrote: > > The ending statement on the Language spec on section Type parameter > declarations, states Type parameters may also be declared by the receiver > specification of a method declaration associated with a generic type. > Does it mean so

[go-nuts] Misunderstaing the Language spec on Type parameter declarations

2022-06-22 Thread Millicent Caputitl
The ending statement on the Language spec on section Type parameter declarations, states Type parameters may also be declared by the receiver specification of a method declaration associated with a generic type.

[go-nuts] Re: Golang wrapper for wolfSSL

2022-06-22 Thread Lealem Amedie
Hi! Great question! Please reach out to supp...@wolfssl.com to have our engineers answer it for you. On Wednesday, June 22, 2022 at 4:38:44 AM UTC-6 vitaly...@gmail.com wrote: > Hi! Thanks for announcing, could you please clarify if WolfSSL supports > BLAKE3 and are there any benchmarks compa

Re: [go-nuts] passing a string slice to a variadic function expecting []interface{} or []any

2022-06-22 Thread Peter Galbavy
Thanks for setting my mind at ease. On Wednesday, 22 June 2022 at 16:05:17 UTC+1 axel.wa...@googlemail.com wrote: > No, there is no way to do it. You have to make a copy of the slice as you > did. > > On Wed, Jun 22, 2022 at 4:58 PM Peter Galbavy > wrote: > >> This is probably an FAQ but... >

Re: [go-nuts] passing a string slice to a variadic function expecting []interface{} or []any

2022-06-22 Thread 'Axel Wagner' via golang-nuts
No, there is no way to do it. You have to make a copy of the slice as you did. On Wed, Jun 22, 2022 at 4:58 PM Peter Galbavy wrote: > This is probably an FAQ but... > > I've tried to understand this before but gave up; I am trying to (quick > and dirty) import from a CSV or Excel file to a DB an

[go-nuts] passing a string slice to a variadic function expecting []interface{} or []any

2022-06-22 Thread Peter Galbavy
This is probably an FAQ but... I've tried to understand this before but gave up; I am trying to (quick and dirty) import from a CSV or Excel file to a DB and I would like to take the slice from csv.Read() and just pass it through to stmt.Exec() but because the first is a []string and the second

[go-nuts] Re: Can't read >32KBytes from http response body.

2022-06-22 Thread Min Xie
We've managed to identify the issue and found a temporary solution. The issue only happens when the stream encoding is "gzip" and the uncompressed size is greater than 32KBytes. Side by side we've compared the server stream with plain text and gzip. The gzip uncompression is automatically enga

[go-nuts] Re: Golang wrapper for wolfSSL

2022-06-22 Thread Vitaly Isaev
Hi! Thanks for announcing, could you please clarify if WolfSSL supports BLAKE3 and are there any benchmarks comparing with default BLAKE3 implementation? среда, 22 июня 2022 г. в 02:10:54 UTC+3, Lealem Amedie: > Checkout the blog announcing the Golang wrapper for the wolfSSL SSL/TLS > crypto

Re: [go-nuts] Generic interface compiles with incorrectly instantiated types

2022-06-22 Thread Brian Candler
On Tuesday, 21 June 2022 at 21:19:29 UTC+1 tsvihb...@gmail.com wrote: > I'm now realizing that even that wouldn't fully behave as I wanted because > it doesn't account for nil values, so I'll have to figure out a better > solution. For a "Maybe" type specifically, the nil interface value could