Skip to content

Instantly share code, notes, and snippets.

@alaershov
Created June 4, 2019 17:36
Show Gist options
  • Save alaershov/44e5555ecbb7fc1894b55d0dbfdbd7bf to your computer and use it in GitHub Desktop.
Save alaershov/44e5555ecbb7fc1894b55d0dbfdbd7bf to your computer and use it in GitHub Desktop.
Toothpick: simple bind
public final class RepositoryModule extends Module {
public RepositoryModule() {
bind(UserRepository.class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment