bazel-contrib / bazel-contrib/rules_go
Support local (relative) import paths
Open
enhancement
go
- Dominant language
- Go
- Stars
- 1.5k
- Forks
- 760
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
We haven't directly supported these before now. They may or may not work, but they're not tested.
We could resolve relative import paths by passing the compiled library's import path to the builder. We might already pass this to the compiler as `-p`.
Contributor guide
Research direction
Start by tracing how the builder passes the compiled library's import path to the compiler, including the existing `-p` argument. Determine where relative import paths are resolved, then add coverage for local imports and verify that those imports build successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100