Skip to content

Conversation

cnzhujie
Copy link
Contributor

Package init method is missed under rta algo. For example:

main.go

package main

func main() {
    method() 
}

func init() {
    method()    
}

func method() {
}

go.mod

module example.com/graph/example_init

go 1.20

go-callvis -algo rta example.com/graph/example_init

image

Copy link
Owner

@ondrajz ondrajz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@ondrajz ondrajz merged commit 5341ae2 into ondrajz:master Dec 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants