I'm adding tracing to an existing code base with many packages and it seems the best way to have context's passed around is to just have every method take a context.Context.
Is there any tooling for converting a code base/package to have: (a) context.Context as the first parameter in each function - ctx context.Context (b) for any function that has changed, have its callers (within that package) pass ctx as the first arg The difficulty here seems to differentiate intra package calls from calls to standard/3rd party libraries which shouldn't be having new param. -- 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. For more options, visit https://groups.google.com/d/optout.