My demo is based on a real problem in our code. The issue here is that I
cannot paste proprietary code and it's large and complex anyway. I
distilled the problem to a bidi-communication coding exercise. The "go srv"
in the real code is an external process with stdin and stdout with a simple
lin
Interesting suggestion, but I added the implementation with buffer = 1 here
and it still deadlocks:
https://github.com/egonk/chandemo/blob/master/2_3.go#L5
It stopped deadlocking when buffer = 5, so I think it will be a nice lesson
about hiding design problems with buffers. Did you have somethi
I think this is brilliant!
Hoping to use it in my next project.
--
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
There is ongoing discussion here: https://github.com/golang/go/issues/30791
Unfortunately it has been taking way too long for this to get
documented. People are spending a lot of time debating what the go
directive should be in go.mod files in their projects because there is
no official recommenda
On Wed, Dec 11, 2019 at 3:57 PM George Hartzell wrote:
> What meaning should I attach to the "go" line in go.mod, e.g.
>
> go 1.13
>
> It's not mentioned in the module wiki's [list of go mod
> directives](https://github.com/golang/go/wiki/Modules#gomod).
>
I don't know if there is a more can
https://www.reddit.com/r/golang/comments/b0b8k3/what_version_should_the_gomod_go_directive_be_set/
--
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+uns
Hi All,
What meaning should I attach to the "go" line in go.mod, e.g.
go 1.13
It's not mentioned in the module wiki's [list of go mod
directives](https://github.com/golang/go/wiki/Modules#gomod).
It seems to be the version of the `go` command that last touched the
go.mod file.
What, if a
A Brazilian friend from the C++ group accepted your challenge and found the
population center. It's here:
https://goo.gl/maps/uNSA95Ej4PYLzvgp7
On Saturday, December 7, 2019 at 8:12:28 PM UTC-3, Marcin Romaszewicz wrote:
>
> As a bonus challenge, try to compute the population center of Brazil :)
Vasiliy,
Take a look at the supported examples. sqlc has no problem handling five
joins and a having clause.
Kyle
On Wednesday, December 11, 2019 at 12:18:20 PM UTC-8, Vasiliy Tolstov wrote:
>
> Thanks! But how about real world cases like joining 5 tables and using
> having and other stuff?
>
Thanks! But how about real world cases like joining 5 tables and using
having and other stuff?
ср, 11 дек. 2019 г. в 22:48, :
>
> Hey gophers,
>
> I'm excited to announce sqlc, my project for turning SQL into type-safe Go.
> With sqlc, the following SQL:
>
>
> CREATE TABLE authors (
> id BIGSER
Hey gophers,
I'm excited to announce sqlc, my project for turning SQL into type-safe Go.
With sqlc, the following SQL:
CREATE TABLE authors (
id BIGSERIAL PRIMARY KEY,
name text NOT NULL, bio text
);
-- name: GetAuthor :one
SELECT * FROM authors WHERE id = $1 LIMIT 1;
gets turned into t
On Friday, July 1, 2016 at 2:16:24 PM UTC-7, Ian Lance Taylor wrote:
>
> I suggest that if EHLO returns a non-nil error and HELO returns an
> EOF, then the hello method should return the EHLO error.
>
> That said, does this case actually happen in the real world?
>
>
YES this happens! And it
Ok it doesn’t. Will we support it?
Seems like there aren’t any CCM ciphers on that list.
--
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...@g
https://golang.org/pkg/crypto/tls/#pkg-constants
--
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 this discussion
go version = 1.9
system: centos6
cpu: Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
ram: 256G
When I just start the program is normal, but after a week, I have got a
serious problem.
use this command:
curl -s http://localhost:6060/debug/pprof/heap?debug=1 | grep -A 100
runtime.MemStats
# runtime.M
15 matches
Mail list logo