MasonHub interview question

Improve a golang backend api