-
-
Notifications
You must be signed in to change notification settings - Fork 708
Add support for replace directive in go.mod files
#4673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
uttam282005
wants to merge
11
commits into
aboutcode-org:develop
Choose a base branch
from
uttam282005:support-replace-directive
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d478275
support replace directive
uttam282005 27c9184
refactor
uttam282005 ba1a48e
add tests and regen test fixtures
uttam282005 d52b301
include local_replacements in extra_data only if exist
uttam282005 21d1091
minor
uttam282005 2108013
debug with traces
uttam282005 c7192a5
change package_data in resource
uttam282005 9889074
pass pacakage_data
uttam282005 01498c0
add logs for debugging
uttam282005 4d40657
Apply suggestions from code review
uttam282005 d6a0252
convert package data to dict
uttam282005 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| module golang.org/x/tools/gopls | ||
|
|
||
| go 1.18 | ||
|
|
||
| require ( | ||
| github.com/google/go-cmp v0.5.9 | ||
| github.com/jba/printsrc v0.2.2 | ||
| github.com/jba/templatecheck v0.6.0 | ||
| github.com/sergi/go-diff v1.1.0 | ||
| golang.org/x/mod v0.12.0 | ||
| golang.org/x/sync v0.3.0 | ||
| golang.org/x/sys v0.11.0 | ||
| golang.org/x/telemetry v0.0.0-20230808152233-a65b40c0fdb0 | ||
| golang.org/x/text v0.12.0 | ||
| golang.org/x/tools v0.6.0 | ||
| golang.org/x/vuln v0.0.0-20230110180137-6ad3e3d07815 | ||
| gopkg.in/yaml.v3 v3.0.1 | ||
| honnef.co/go/tools v0.4.2 | ||
| mvdan.cc/gofumpt v0.4.0 | ||
| mvdan.cc/xurls/v2 v2.4.0 | ||
| ) | ||
|
|
||
| require ( | ||
| github.com/BurntSushi/toml v1.2.1 // indirect | ||
| github.com/google/safehtml v0.1.0 // indirect | ||
| golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect | ||
| golang.org/x/exp/typeparams v0.0.0-20221212164502-fae10dda9338 // indirect | ||
| ) | ||
|
|
||
| replace golang.org/x/tools => ../ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.