Skip to content

Commit e6c4622

Browse files
committed
up 2023-12-10
1 parent 59cf3b9 commit e6c4622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
_ "embed"
4+
"embed"
55
"flag"
66
util "github.com/hktalent/go-utils"
77
"github.com/hktalent/wget-go/pkg"
@@ -13,7 +13,7 @@ import (
1313
var config embed.FS
1414

1515
func main() {
16-
util.DoInitAll()
16+
util.DoInit(&config)
1717
runtime.GOMAXPROCS(runtime.NumCPU())
1818
pkg.PipelineHttp1.SetNoLimit()
1919

0 commit comments

Comments
 (0)