Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wang
/
go_upload_sync
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fd33399a
authored
Apr 29, 2021
by
wang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
cdc7b402
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
cmd/main.go
cmd/main.go
View file @
fd33399a
...
...
@@ -4,6 +4,7 @@ import (
"flag"
"go_upload_sync/app/queue"
"go_upload_sync/boot"
"log"
)
var
(
...
...
@@ -12,6 +13,7 @@ var (
)
func
main
()
{
log
.
Println
(
"库存消费队列脚本开始……"
)
//监听 sku_upload_sync
flag
.
StringVar
(
&
configPath
,
"config"
,
"./config/dev/"
,
"配置文件"
)
flag
.
StringVar
(
&
logPath
,
"logdir"
,
"./logs/"
,
"日志文件存储目录"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment