multilang-depends / depends

Depends is a fast, comprehensive code dependency analysis tool
MIT License
195 stars 54 forks source link

golang depends extractor does not work well #36

Open IANTHEREAL opened 2 years ago

IANTHEREAL commented 2 years ago

Hello @gangz, the depends tools is really coool. We tried to parse the a golang project , but got the following errors. the CMD line is ./depends.sh -d ~/Work/test go /Users/ianz/Work/go/src/github.com/pingcap/br depend can you help with it?

parsing /Users/ianz/Work/go/src/github.com/pingcap/br/pkg/restore/pipeline_items.go...
ContextManager
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
error
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport anonymousField
TODO: unsupport fieldDecl without type
TODO: unsupport return type
[]error
TODO: unsupport fieldDecl without type
(BatchSender,error)
parsing /Users/ianz/Work/go/src/github.com/pingcap/br/pkg/restore/batcher.go...
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport return type
TODO: unsupport return type
(*Batcher,<-chanCreatedTable)
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
TODO: unsupport fieldDecl without type
drainResult
gangz commented 2 years ago

Sure, it is still an incomplete feature yet, while recently I have no spare time to add the feature.