This is a test project for golang/go#71783.
The main package does these things:
- Runs a function
Foodefined ininternal/foo/foo.go. This function just outputs 'Original' by default. - Runs
go list -f {{.Dir}} github.com/hajimehoshi/overlaytest/internal/footo get the local path for the package. - Generates a JSON file to add a new file
internal/foo/bar.goto replace the output message to 'Replaced'.