mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-18 21:38:10 +08:00
go
This commit is contained in:
@@ -80,7 +80,7 @@ module.exports = {
|
||||
*/
|
||||
exec: {
|
||||
go: {
|
||||
directory: './go',
|
||||
directory: './',
|
||||
cmd: 'go',
|
||||
args: ['run', './main.go', '--env=dev'],
|
||||
},
|
||||
|
||||
9
go/config/config.default.json
Normal file
9
go/config/config.default.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"logger": {
|
||||
"outputJSON": false,
|
||||
"level": "info",
|
||||
"fileName": "ee-go.log",
|
||||
"maxSize": 1024,
|
||||
"maxAge": 30
|
||||
}
|
||||
}
|
||||
9
go/config/config.dev.json
Normal file
9
go/config/config.dev.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"logger": {
|
||||
"outputJSON": false,
|
||||
"level": "info",
|
||||
"fileName": "ee-go.log",
|
||||
"maxSize": 1024,
|
||||
"maxAge": 30
|
||||
}
|
||||
}
|
||||
9
go/config/config.prod.json
Normal file
9
go/config/config.prod.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"logger": {
|
||||
"outputJSON": true,
|
||||
"level": "info",
|
||||
"fileName": "ee-go.log",
|
||||
"maxSize": 1024,
|
||||
"maxAge": 30
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user