Interesting As a note, directive comments should be of the form `//toolname:directive`, meaning the `//go:` prefix should be reserved for the `go` toolchain itself.
- sean On Thu, Nov 10, 2022 at 4:07 PM Nikolay Dubina <nikolay.dubina....@gmail.com> wrote: > *What?* > > Tool for automatic instrumentation of OpenTelemetry Traces of all > functions and methods. > > https://github.com/nikolaydubina/go-instrument > > *Why?* > > It is laborious to add tracing code to every function manually. The code > repeats 99% of time. Other languages can either modify code or have wrapper > notations that makes even manual tracing much less laborious. As of > 2022-11-06, official Go does not support automatic function traces. > https://go.dev/doc/diagnostics. Thus, created a tool to automatically add > Spans. > > *Thank you!* > > -- Nikolay > > -- > 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 on the web visit > https://groups.google.com/d/msgid/golang-nuts/0323b8d0-c1cc-47e9-9b32-82fecb4d9f66n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/0323b8d0-c1cc-47e9-9b32-82fecb4d9f66n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 on the web visit https://groups.google.com/d/msgid/golang-nuts/CAGabyPrkjpGU4YmrCY4Aw%2B1DMYscM6Hx-P8Byv-N4zMDV%3Dw9YA%40mail.gmail.com.