File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ go 1.23.4
44
55require (
66 github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
7- github.com/bytedance/sonic v1.14.1
87 github.com/cloudwego/eino v0.3.52
98 github.com/cloudwego/eino-ext/components/model/ark v0.1.16
109 github.com/cloudwego/eino-ext/components/model/claude v0.1.1
@@ -43,6 +42,7 @@ require (
4342 github.com/bahlo/generic-list-go v0.2.0 // indirect
4443 github.com/buger/jsonparser v1.1.1 // indirect
4544 github.com/bytedance/gopkg v0.1.3 // indirect
45+ github.com/bytedance/sonic v1.14.1 // indirect
4646 github.com/bytedance/sonic/loader v0.3.0 // indirect
4747 github.com/cenkalti/backoff/v4 v4.3.0 // indirect
4848 github.com/cloudwego/base64x v0.1.6 // indirect
Original file line number Diff line number Diff line change @@ -99,10 +99,12 @@ func (p *GoParser) collectGoMods(startDir string) error {
9999 if err != nil || ! strings .HasSuffix (path , "go.mod" ) {
100100 return nil
101101 }
102- name , _ , err := getModuleName (path )
102+
103+ name , err := getModuleName (path )
103104 if err != nil {
104- return err
105+ return fmt . Errorf ( "failed to get module name: %s" , err . Error ())
105106 }
107+
106108 rel , err := filepath .Rel (p .homePageDir , filepath .Dir (path ))
107109 if err != nil {
108110 return fmt .Errorf ("module path %v is not in the repo" , path )
You can’t perform that action at this time.
0 commit comments