Skip to content

Instantly share code, notes, and snippets.

@volkanbicer
Created April 30, 2019 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save volkanbicer/e63586c76d27f405d81ba3e576b9149b to your computer and use it in GitHub Desktop.
Save volkanbicer/e63586c76d27f405d81ba3e576b9149b to your computer and use it in GitHub Desktop.
struct DependecyContainer {
private let bookService: BookService
private let auth: Auth
init(bookService: BookService = MockBookService(),
auth: Auth = MockAuth()) {
self.bookService = bookService
self.auth = auth
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment