Thanks, that explains it.
On Fri, Dec 22, 2017, at 6:28 PM, Volker Dobler wrote:
> See https://golang.org/doc/faq#nil_error
>
> V.
>
> On Friday, 22 December 2017 17:37:40 UTC+1, Vincent Rischmann wrote:>> Hello,
>>
>> while refactoring some code I encoun
Hello,
while refactoring some code I encountered something strange regarding
redeclarations.
Here is an example: https://play.golang.org/p/b7Bp2w2fWwk
Somehow after redeclaring err when calling doIt, err is apparently not nil,
yet the functions never return anything other than nil.
If I use a
Hi,
I'm on Windows, I had Go 1.7.4 installed from the MSI installer. Today I
decided to upgrade to Go 1.8, so I downloaded the new MSI, ran it and
that was it.
However, first package I tried to install I got the following errors:
G:\Gopath\src\github.com\google> go get -u -v github.com/vris
Thanks for the responses.
I took a look at the generated code and go-bindata does in fact use the
form "var _data = []byte(`my giant string`)".
But there's something strange happening: I can't reproduce the problem
on my Macbook Pro. It compiles just fine here.
On Mon, Jan 9, 2017, at 12:5
Hi,
so I was trying to embed JS and HTML assets in a Go file using go-bindata
and ended up with a Go file of 4Mib, and I noticed compiling it consumes
all my system's memory.
I'm on Windows and using the resource monitor I can see compile.exe memory
usage grow to more than 15Gib in a couple of
> It's a wretched hive of scum and villainy. The Go subreddit was the only
> thing similar to human and it is downright painful most of the time.
Way to go insulting everyone on Reddit. I'm neither scum or a "villain".
I also spend a lot of time on /r/golang and it's nowhere near painful, I
have