Once Go 1.21 is released, will it be possible to experiment with loopvar on
the playground, and share links to code running on the playground that uses
the experiment?
(The loopvar experiment
being: https://github.com/golang/go/wiki/LoopvarExperiment)
--
You received this message because you
>Collapse all three. This works but I really don't like having Fake code in
the same package as real code.
This is the answer, in my opinion. Don't split code across packages unless
there's a reason to do so. A fake implementation is a feature. If it hurts
that much, just call it something more
Interesting point. Two questions:
- Is there a standard library example of a client library that provides
a fake?
- I've always been taught that Go packages stand alone so names like
"api" and "model" are verboten. Am I wrong?
On Monday, June 19, 2023 at 1:22:03 AM UTC-4 TheDiveO
On Mon, Jun 19, 2023 at 11:46 AM '方佳文' via golang-nuts
wrote:
>
> Hi, maintainers of https://github.com/golang/glog:
>
> There is a bug in golang/glog that the CGO condition is wrong.
>
> https://github.com/golang/glog/blob/03ad3c2a3f1c767129f0b355507de7ae615f53b8/glog_file_linux.go#L17
>
> //go:b
Hello,
Was there a solution to this? I am having the same issue. Win 10 machine
and compiling and running simple lines of code takes ages.
Henry kirjutas neljapäev, 15. detsember 2022 kl 11:52:35 UTC+2:
> Assuming that it is a basic Hello World program, I don't have such
> problems on my Windo
Hi, maintainers of https://github.com/golang/glog:
There is a bug in golang/glog that the CGO condition is wrong.
https://github.com/golang/glog/blob/03ad3c2a3f1c767129f0b355507de7ae615f53b8/glog_file_linux.go#L17
//go:build linux
https://github.com/golang/glog/blob/03ad3c2a3f1c767129f0b355507d
Nevermind for the first idea.. this is even more complex than I thought.
First it requires generalized interfaces. I don't see it being a major
problem in the long run.
But I thought I could work around not having value scoped type declarations
but turns out it is not the case after all.
Realize