Y
Hacker News
new
|
ask
|
show
|
jobs
Finding Structurally Duplicate Go Functions with AST Hashing
(
medium.com
)
2 points
by
alzhi7
50 days ago
2 comments
bediger4000
50 days ago
Is this similar to Brenda Baker's "dup"?
https://www.cs.ucdavis.edu/~devanbu/teaching/289/Schedule_fi...
link
alzhi7
50 days ago
godedup is a small Go CLI tool that finds structurally duplicate functions in Go code. It does not compare raw text. It does not care if variable names changed. It does not care if string literals changed. It looks at the shape of the code.
link
https://www.cs.ucdavis.edu/~devanbu/teaching/289/Schedule_fi...