bazel-contrib / rules_go

Go rules for Bazel
Apache License 2.0
1.38k stars 656 forks source link

feat(gpd): add overlay support for gopackagesdriver #4101

Closed LWarrens closed 1 month ago

LWarrens commented 1 month ago

This feature enhances package resolution by supporting temporary or unsaved files, making it useful for IDEs, linters, and test scenarios where in-memory file content is needed.

What type of PR is this? Feature

What does this PR do? Why is it needed? Implements the overlay function specified in the gopackagesdriver DriverRequest

Which issues(s) does this PR fix? Fixes #4100