Hacker News
new
top
best
ask
show
job
Finding Structurally Duplicate Go Functions with AST Hashing
(
medium.com
)
2 points
by
alzhi7
7 hours ago
2 comments
alzhi7
7 hours 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.
bediger4000
6 hours ago
Is this similar to Brenda Baker's "dup"?
https://www.cs.ucdavis.edu/~devanbu/teaching/289/Schedule_fi...