amit-davidson / Chronos

Chronos - A static race detector for the go language
MIT License
425 stars 11 forks source link

Change --pkg to --mod. #38

Closed amit-davidson closed 3 years ago

amit-davidson commented 3 years ago

Changed the flag --pkg to --mod. They serve the same purpose of telling Chronos where to perform the search. Contrary to --pkg, --mod is mandatory. This way, we don't have to "guess" what is the root path of the containing module. Also, remove deprecated locks.