Re: [go-nuts] Experience with building JS and Python bindings for a Go library

2023-05-22 Thread 'Sebastien Binet' via golang-nuts
For CPython, there's github.com/go-python/gopy that tries to automatically wrap a Go package into a CPython module. There's also go-python/gpython, a pure-Go Python3 interpreter (without all the batteries, though). For JS, I guess there's GopherJS. hth, -s May 23, 2023 02:35:15 Taco de Wolff

Re: [go-nuts] Experience with building JS and Python bindings for a Go library

2023-05-22 Thread burak serdar
On Mon, May 22, 2023 at 6:35 PM Taco de Wolff wrote: > I would like to know if anyone has experience with building bindings for > JavaScript (NodeJS) and Python for a Go library. Who has worked on this, or > does anybody know of libraries that have succeeded? > I used the following two

[go-nuts] Experience with building JS and Python bindings for a Go library

2023-05-22 Thread Taco de Wolff
I would like to know if anyone has experience with building bindings for JavaScript (NodeJS) and Python for a Go library. Who has worked on this, or does anybody know of libraries that have succeeded? In particular, I have successfully built working JS and Python bindings (see

Re: [go-nuts] Re: go mod download fails on docker for 1.20 (but not for 1.18)

2023-05-22 Thread TheDiveO
The thing that finally caught my eye is the "connect: cannot assign requested address" part in the error message. You can search for it in combination with golang. I'm not exactly clear but this could be related to running out of socket or port resources, maybe in combination with changes in

Re: [go-nuts] Re: go mod download fails on docker for 1.20 (but not for 1.18)

2023-05-22 Thread Joao Miguel Ferreira
Hello Jim and Harald, please find below the answers to your questions. if anything else could help, please let me know about the container configuration for ipv6, it seems that there is no such configuration for containers running from the base images (1.18, 1.20, bullseye seems to not have the

Re: [go-nuts] Idiomatic distribute-process-collect pattern

2023-05-22 Thread Brian Candler
Isn't Ian's solution basically the same, but using a Waitgroup instead of an Errgroup? I think the Fetch() is just a placeholder for "this is where the implementation detail of the task would go" On Sunday, 21 May 2023 at 21:54:39 UTC+1 Andrew Harris wrote: > The recipe on 10:26 should work

[go-nuts] Re: go mod download fails on docker for 1.20 (but not for 1.18)

2023-05-22 Thread TheDiveO
? base system distribution? ? do you have IPv6 connectivity at all? ? which docker version? On Monday, May 22, 2023 at 2:29:08 AM UTC+2 Joao Miguel Ferreira wrote: > Hello all, > > My docker build is ok with FROM golang:1.18-alpine, FROM > golang:1.18-buster and FROM golang:1.18-bullseye

[go-nuts] Re: glog: how to add wrapper to log sinks ? Maybe move glog/internal/logsync out of internal ?

2023-05-22 Thread Jan
A bit more of search and I found klog , which conveniently already provides SetLogFilter , which resolves the issue. cheers Jan ps.: s/logsync/logsink -- sorry. On Monday, May 22, 2023 at 7:30:11 AM UTC+2 Jan