Added a program init function
This commit is contained in:
parent
0ddaeca844
commit
9da25da525
11 changed files with 78 additions and 38 deletions
|
@ -20,6 +20,7 @@ func Scan(files []string) (chan *core.Constant, <-chan *fs.File, <-chan *core.Fu
|
|||
}
|
||||
|
||||
go func() {
|
||||
scanner.queueDirectory(filepath.Join(config.Library, "core"), "core")
|
||||
scanner.queueDirectory(filepath.Join(config.Library, "mem"), "mem")
|
||||
scanner.queue(files...)
|
||||
scanner.group.Wait()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue