Folder structure #398

Merged
bones7242 merged 76 commits from folder-structure into master 2018-03-20 00:01:08 +01:00
3 changed files with 12 additions and 8 deletions
Showing only changes of commit 8706b07634 - Show all commits

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -88,11 +88,15 @@ const startServer = (mysqlConfig) => {
}); });
}; };
const speech = { module.exports = {
start (config) { hello () {
const { mysqlConfig } = config; console.log('hello world');
startServer(mysqlConfig);
}, },
speak (something) {
console.log(something);
},
// start (config) {
// const { mysqlConfig } = config;
// startServer(mysqlConfig);
// },
}; };
module.exports = speech;