Joel-Valentine / cogo

CLI tool to interact with different cloud providers
https://cogoapp.dev
MIT License
2 stars 0 forks source link

feat(digitalocean): can now chose between different image types #7

Closed Joel-Valentine closed 4 years ago

Joel-Valentine commented 4 years ago

You will notice that this code is pretty pattern heavy, often repeating itself. I wish I knew a way of preventing this into a more generic function to handle this. The only real difference between them is the type and the api call from godo. Plz help