[go-nuts] Re: Need help to make autocert working

2019-05-08 Thread 'alex' via golang-nuts
> This site can’t be reached > site took too long to respond. Where is this coming from, some kind of a client? > How come the autocert TLS handshake trying to connect my home IP address autocert doesn't connect anywhere except the ACME directory, Let's Encrypt being most common I guess. Most li

[go-nuts] Re: how to use an instance across functions in a package w/o global vars

2019-04-13 Thread alex via golang-nuts
While the expected r/w patterns will certainly influence the amount of pain you may feel from using "global state", I would not consider it to be the main deciding factor. Now, please keep in mind that this whole topic is more a matter of coding style and trade-offs, not necessarily right-or-wr

Re: [go-nuts] how to use an instance across functions in a package w/o global vars

2019-04-12 Thread alex via golang-nuts
On Thursday, April 11, 2019 at 6:20:33 AM UTC-4, Dumitru Ungureanu wrote: > > It helps a lot! Thanks. > > I now have two things to moan about. > > If I was to pass c around, I would added it to the params list. If I had > more others, I'd built a struct. But now, if somehow I lose track of who's