https://github.com/golang/go/wiki/Modules#when-should-i-use-the-replace-directive
It will fail because it will say it can not find "project"If I add a proper go.mod file in the example directory, then it works but it actually pulls a version of project from the vcs (this is, of course, assuming there is already a committed version. otherwise it will also fail) so if I had made changes locally to library.go, they will not be seem.So what should I do to satisfy the following requirements:1 - go run example.go in the example directory works.2 - Local changes to library.go will be seem when I do 1.3 - It will still look rigth when everything is commited to vcs (meaning that if someone check it out somewhere else, 1 and 2 will still work.