Dependency Injection #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Eventually, it would probably be a good idea to use some form of Dependency Injection for the API calls. This would enable us to mock them (for tests, or running the application without actually connecting to Telegram). The linked page mentions:
Also we probably want to call things
Repository
and notSource
? Not sure which term is the accepted one.