[Solved] Go http client setup for multiple endpoints?

Disclaimer: this is not a direct answer to your question but rather an attempt to direct you to a proper way of solving your problem. Try to avoid a singleton pattern for you MyApp. In addition, New is misleading, it doesn’t actually create a new object every time. Instead you could be creating a new … Read more