-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(fixer.go): streamline function lookup logic for clarity and …
…efficiency feat(fixer_test.go): update tests to reflect new file structure and paths feat(testdata/main.go): consolidate test data into a single main.go for simplicity feat(testdata/output.json): add output.json to track function metadata chore: remove old testdata files (reachable.go, stringer.go) to clean up project structure
- Loading branch information
1 parent
dc79d3f
commit 6135a87
Showing
6 changed files
with
86 additions
and
58 deletions.
There are no files selected for viewing
This file contains 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 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 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 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,35 @@ | ||
[ | ||
{ | ||
"Name": "main", | ||
"Path": "github.com/yyoshiki41/rm-deadcode/testdata", | ||
"Funcs": [ | ||
{ | ||
"Name": "Unreachable", | ||
"Position": { | ||
"File": "main.go", | ||
"Line": 18, | ||
"Col": 6 | ||
}, | ||
"Generated": false | ||
}, | ||
{ | ||
"Name": "myString.String", | ||
"Position": { | ||
"File": "main.go", | ||
"Line": 33, | ||
"Col": 19 | ||
}, | ||
"Generated": false | ||
}, | ||
{ | ||
"Name": "myString.Unreachable", | ||
"Position": { | ||
"File": "main.go", | ||
"Line": 41, | ||
"Col": 20 | ||
}, | ||
"Generated": false | ||
} | ||
] | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.