Axum-style Magic Handler Functions in Go, Part 2

Introduction In the first part of this blog post, we tried to replicate the magic of axum in Go. In the end, we had endpoint handlers that looked like this: func createUser ( l Logger , payload JSON [ CreateUser ]) ( response JSON [ User ], _ error ) { response . V = User { ID : 1337 , Username : payload . V . Username } l . Info ( 'created' , 'user' , payload . V . Username ) return } I recommend…