Re: [go-nuts] LLM development toolkit.

2024-11-24 Thread alex-coder
Hi All ! http port has been added to the llm, so now you may communicate with llm via the http client. Thank you. суббота, 9 ноября 2024 г. в 12:19:21 UTC+3, alex-coder: > Thanks everyone ! > I forgot to provide the checksum for the archive. Sorry. > > пятница, 8 ноября 2024 г. в 20:17:24 UTC

Re: [go-nuts] Do we need to drain a closed channel ?

2024-11-24 Thread Robert Engels
Yes you need to manage your producers and consumers. Think about it more deeply - given your scenario what would you want to happen? Is that universal - probably not. On Nov 24, 2024, at 10:13 PM, Henry wrote:Hi all,I have been wondering about this as well. Let's say there is a channel, and the s

Re: [go-nuts] Do we need to drain a closed channel ?

2024-11-24 Thread Henry
Hi all, I have been wondering about this as well. Let's say there is a channel, and the sender runs in a separate goroutine: ``` // sender go func() { for _, data := range output() { ch <- data } }() ``` Now the channel isn't consumed. Perhaps, it is a part of the followi

Re: [go-nuts] Re: The possibilty run go source code as real scripts

2024-11-24 Thread Lin Lin
Thanks Brian. I've checked that, it probably what I want. I don't know how I missed it. Thanks again. On Sun, 24 Nov 2024 at 05:59, 'Brian Candler' via golang-nuts < golang-nuts@googlegroups.com> wrote: > Have you looked at this? > > https://github.com/traefik/yaegi?tab=readme-ov-file#as-a-comma