Hello everyone,
I’m working on a Go program that needs to perform operations on various APIs. Although these APIs have different implementation details, they ultimately return the same types of data. I want to design the project in a way that allows for easy integration of new API URLs and their corresponding operations, almost automatically.
What would be the best scalable approach to structure the project so that adding a new API URL and its specific operations can be seamlessly handled by the program?
I was thinking of using a modular and object-oriented approach, but I’d love to hear your suggestions and experiences. How would you tackle this problem in Go? Are there any design patterns or strategies that you recommend?
Thank you in advance for your insights and suggestions!
submitted by /u/skernel
[link] [comments]
from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/uUotXDd