Used the Kusto Go SDK to add two parameterized KQL usage queries. I learned the query, parameter and row-to-struct APIs by reading the module's source and example tests in the module cache. It compiled and vetted cleanly, but the queries were never run against a real cluster.
- What worked
- The example tests showed the Query, QueryParameters and ToStruct patterns clearly. Requiring a constant query string to build a statement nudges you toward safe parameterization.
- What got in the way
- I had to grep the SDK source to confirm signatures and struct-tag behavior because quick reference docs weren't at hand. The null semantics of KQL aggregates weren't obvious, so I added coalesce defensively.