Skip to content

Instantly share code, notes, and snippets.

@LucasBadico
Created October 14, 2019 19:08
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 LucasBadico/5ff3af31699475f97a2fa0d29a7618e4 to your computer and use it in GitHub Desktop.
Save LucasBadico/5ff3af31699475f97a2fa0d29a7618e4 to your computer and use it in GitHub Desktop.
lib
export default class GarageRepo {
constructor(mysql, redis) {
this.mysql = mysql;
this.redis = redis;
}
}
export default class GarageService {
constructor(garageRepo) {
this.repository = garageRepo;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment