Dwarfreflect – Extract Go function parameter names at runtime
Dwarfreflect – Extract Go function parameter names at runtime
While working on openai-agents-go, I wanted users to define tools by passing in a plain Go function and have the agent figure out the inputs automatically. But I ran into a gap: Go's reflect gives you parameter types and positions, but not the actual names you wrote. So I built dwarfreflect: it parses the DWARF debug info embedded in Go binaries (unless stripped) to recover real function parameter names at runtime. This made it easy to: - Bind incoming JSON/map data to actual parameter names - Build a clean API without boilerplate Try it out here: https://github.com/matteo-grella/dwarfreflect Happy to hear thoughts, ideas, use cases, or bug reports.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
TensorFlowithInception as an OpenFaaS function
TensorFlow ImageNet/Inception as an OpenFaaS function
Added Supporting Function by Patreon to Pixela
Weighted Scoring Function for CodersBracket
IPFS and Ethereum to preserve holocaust victims names
Names
Namebump is a registrationless, KVS. Unused names are bumped overtime
Where Names Unite!
Relaunch of function-plot – a powerful function plotter
Tiny (320B) JavaScript function for conditionally concatenating class names