[go-nuts] Financial support for golangci-lint

2025-04-04 Thread Mitar
this? (I am not affiliated with golangci-lint.) Mitar [1] https://github.com/golangci/golangci-lint/discussions/5503 -- https://mitar.tnode.com/ https://twitter.com/mitar_m https://noc.social/@mitar -- You received this message because you are subscribed to the Google Groups "golang

[go-nuts] Re: ANN: fun: call your LLMs like they are just a function

2024-08-19 Thread Mitar
Hi! I released a new version which now also allows tool calling into Go code. So you can now both call LLM models and they can call back into Go. Magic. It really shows how powerful Go is without all the "async" mess from other languages, and useful context.Context. Mitar On Sun, A

[go-nuts] ANN: fun: call your LLMs like they are just a function

2024-08-04 Thread Mitar
. And there are some ways to check for this (using JSON Schema to validate outputs, comparing outputs of multiple models, etc.). Mitar -- https://mitar.tnode.com/ https://twitter.com/mitar_m https://noc.social/@mitar -- You received this message because you are subscribed to the Google Groups

Re: [go-nuts] Re: Measuring the total time of serving a request

2023-11-21 Thread Mitar
he Content-Length header is added automatically." "Once the headers have been flushed (...), the request body may be unavailable." My understanding is that after the main handler returns, none of this matters anymore. But are there any other similar side effects? Mitar --

Re: [go-nuts] Re: Measuring the total time of serving a request

2023-11-20 Thread Mitar
Hi! On Mon, Nov 20, 2023 at 10:26 AM Duncan Harris wrote: > Why do you care about buffering in Go vs the OS? Just because I hope that in Go I might have a chance to know when they are written out than in OS. Mitar -- https://mitar.tnode.com/ https://twitter.com/mitar_m https://noc.soc

[go-nuts] Measuring the total time of serving a request

2023-11-19 Thread Mitar
maybe by malice) and would like to have some data on how often that is happening. Mitar -- https://mitar.tnode.com/ https://twitter.com/mitar_m https://noc.social/@mitar -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe

Re: [go-nuts] ANN: A new package to wrap errors and record a stack trace

2022-01-03 Thread Mitar
a stack trace every time you called any of its methods, even when the error you were wrapping already had a stack trace. Most functions in this package add a stack trace only if the error does not already have one. The only exception is Wrap which does it again. Mitar -- http://mitar.tnode.com/ ht

Re: [go-nuts] ANN: A new package to wrap errors and record a stack trace

2022-01-03 Thread Mitar
rrors you use `errors.Is` to determine which of base errors happened and map that to a message for the end user, in their language. So in a way, github.com/cockroachdb/errors has too much stuff for me, so I prefer something leaner. Mitar On Mon, Jan 3, 2022 at 7:27 AM Gaurav Maheshwari wrote: &g

[go-nuts] ANN: A new package to wrap errors and record a stack trace

2022-01-02 Thread Mitar
codewise and very familiar human wise. Now you can use Errorf to both wrap an existing error, format the error message, and record a stack trace. https://gitlab.com/tozd/go/errors Check it out. Any feedback is welcome. Mitar -- http://mitar.tnode.com/ https://twitter.com/mitar_m -- You received

Re: [go-nuts] Is importing one main package in another main package supported?

2021-12-22 Thread Mitar
16. So I can assume the post is simply false? Mitar -- http://mitar.tnode.com/ https://twitter.com/mitar_m -- 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

[go-nuts] Is importing one main package in another main package supported?

2021-12-21 Thread Mitar
installed as CLI tools? Mitar [1] https://groups.google.com/g/golang-nuts/c/frh9zQPEjUk/m/9tnVPAegDgAJ -- http://mitar.tnode.com/ https://twitter.com/mitar_m -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this grou