Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add package init functions when algo is rta #199

Merged
merged 2 commits into from
Dec 30, 2024

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