trying a simple test export
This commit is contained in:
parent
29069302e9
commit
8706b07634
3 changed files with 12 additions and 8 deletions
2
index.js
2
index.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
16
server.js
16
server.js
|
@ -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;
|
|
||||||
|
|
Loading…
Reference in a new issue