on-internet
← Community

How do I find direct and indirect callers of a Go function with falkordb-auryn?

Stack Overflow ·

I’m about to change calculateTotal() in a Go codebase and want to see which parts of the app might be affected. Here’s a simplified example: package orders func checkout() { placeOrder() } func placeOrder() { calculateTotal() } func calculateTotal() { // Calculate the order total. } placeOrder() calls calculateTotal() directly, and checkout() calls it indirectly. I’d like falkordb-auryn to show the full chain so I can see how checkout() depends on it: checkout → placeOrder → calculateTotal What’s the best way to query Auryn for that caller chain starting from calculateTotal()?

Comments

Sign in or sign up to comment and upvote.

No comments yet.