Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
scm_server
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
5742d63b
authored
May 18, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
物料需要重新导入
parent
094d0cca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
cmd/source/main.go
cmd/source/main.go
View file @
5742d63b
...
...
@@ -2,6 +2,7 @@ package main
import
(
"flag"
"scm_server/cmd/source/goods"
"scm_server/cmd/source/supplier"
"scm_server/configs"
"sync"
...
...
@@ -13,9 +14,9 @@ func main() {
flag
.
Parse
()
configs
.
Setup
(
path
)
var
wg
sync
.
WaitGroup
wg
.
Add
(
1
)
wg
.
Add
(
2
)
go
supplier
.
Import
(
&
wg
)
//go customer.Import(&wg)
//
go goods.Import(&wg)
go
goods
.
Import
(
&
wg
)
wg
.
Wait
()
}
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