Axum-style Magic Handler Functions in Go, Part 1

Part 2 is out! Introduction Rustaceans using the axum framework can employ the &ldquo;magic function&rdquo; pattern to write very descriptive handler functions with little boilerplate. Can we imitate it in Go? Let&rsquo;s find out! Why, though? ¯\_(ツ)_/¯ Axum&rsquo;s magic functions axum is a Rust web framework that focuses on ergonomics and modularity. One particularly impressive feature of axum…