Skip to content

Commit 2c106d5

Browse files
committed
using mihomo's entrance for YAML package
1 parent fd7449e commit 2c106d5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

core/src/main/golang/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ require (
66
github.com/dlclark/regexp2 v1.11.5
77
github.com/metacubex/mihomo v1.7.0
88
golang.org/x/sync v0.11.0
9-
gopkg.in/yaml.v3 v3.0.1
109
)
1110

1211
replace github.com/metacubex/mihomo => ../../foss/golang/clash
@@ -109,4 +108,5 @@ require (
109108
golang.org/x/time v0.10.0 // indirect
110109
golang.org/x/tools v0.24.0 // indirect
111110
google.golang.org/protobuf v1.34.2 // indirect
111+
gopkg.in/yaml.v3 v3.0.1 // indirect
112112
)

core/src/main/golang/native/config/load.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import (
66
"runtime"
77
"strings"
88

9-
"gopkg.in/yaml.v3"
10-
119
"cfa/native/app"
1210

11+
"github.com/metacubex/mihomo/common/yaml"
1312
"github.com/metacubex/mihomo/config"
1413
"github.com/metacubex/mihomo/hub"
1514
"github.com/metacubex/mihomo/log"

0 commit comments

Comments
 (0)