https://github.com/golang/go/issues/49765
https://go-review.googlesource.com/c/website/+/366976/
On Thu, Nov 25, 2021 at 8:50 AM 'Carla Pfaff' via golang-nuts <
golang-nuts@googlegroups.com> wrote:
> On Wednesday, 24 November 2021 at 22:53:33 UTC+1 ben...@gmail.com wrote:
>
>> 2) The download lin
On Wednesday, 24 November 2021 at 22:53:33 UTC+1 ben...@gmail.com wrote:
> 2) The download link is for the Windows binary, and I'm running Linux.
> Would be nice if it could try to auto-detect based on my User-Agent, which
> includes the words "X11", "Ubuntu", and "Linux".
>
The website alread
On Wed, Nov 24, 2021 at 6:14 PM Fannie Zhang wrote:
> Hi all,
>
> There is some incorrect code in
> https://go.dev/blog/defer-panic-and-recover blog.
>
> The original code is
> *func CopyFile() {*
> * ...*
> * if err != nil {*
> * return*
> * }*
> * defer src.Close()*
> * ...*
> *}
On Wed, Nov 24, 2021 at 6:14 PM Fannie Zhang wrote:
>
> There is some incorrect code in https://go.dev/blog/defer-panic-and-recover
> blog.
>
> The original code is
> func CopyFile() {
>...
>if err != nil {
> return
>}
>defer src.Close()
>...
> }
>
> I think the correct
On 11/24/21 20:26, Kurtis Rader wrote:
Notice the date of that blog article: 2010-08-04. It's more than eleven years
old. Blog articles are not updated as the language changes.
It might be good to resolve that. If the authoritative info source for the
language makes a habit of keeping old dat
Notice the date of that blog article: 2010-08-04. It's more than eleven
years old. Blog articles are not updated as the language changes. However,
in this case the example in that article is correct. If `os.Open()` returns
an error then the `src` return value is invalid.
On Wed, Nov 24, 2021 at 6:
Hi all,
There is some incorrect code in https://go.dev/blog/defer-panic-and-recover
blog.
The original code is
*func CopyFile() {*
* ...*
* if err != nil {*
* return*
* }*
* defer src.Close()*
* ...*
*}*
I think the correct code should be
*func CopyFile() {*
* ...*
* defer sr
On Wed, Nov 24, 2021 at 10:53 PM ben...@gmail.com wrote:
> 2) The download link is for the Windows binary, and I'm running Linux.
[image: image.png]
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiv
I don't think it's awful, and Carla's right, there's always going to be
debate about these changes and a settling period. However, I do think the
criticism of it being too corporate-looking now is valid. Two pieces of
concrete feedback (in case the maintainers are listening), one on how to
addr
I also don’t like it very much… it is just too noisy. But I haven’t spent
enough time with it to really make a note of concrete issues.
:) Hein
On Tuesday, November 23, 2021 at 7:46:19 PM UTC+1 poe...@gmail.com wrote:
> Am I the only one who thinks this? The old site golang.org had a simple
> a
10 matches
Mail list logo