Dependency Injection #2
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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.