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

Could Chronos detect one arbitrary go file? #43

Closed
ChenhuaYang opened this issue Apr 16, 2021 · 3 comments
Closed

Could Chronos detect one arbitrary go file? #43

ChenhuaYang opened this issue Apr 16, 2021 · 3 comments

Comments

@ChenhuaYang
Copy link

Chrono privide such way to use.
$ chronos --file <path_to_main> --mod <path_to_module>

Why should I specify path_to_main, could I just detect one arbitrary go file, like:
$ go run -race mysrc.go

@amit-davidson
Copy link
Owner

When using go run, you still have to point to the main function to specify the entry point so it's not really different from Chronos. It also needs the entry point so it can understand the flows of the programs.

@ChenhuaYang
Copy link
Author

Thanks Amit!

@amit-davidson
Copy link
Owner

:)

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

No branches or pull requests

2 participants