Finding Structurally Duplicate Go Functions with AST Hashing

2 pointsposted 10 hours ago
by alzhi7

2 Comments

alzhi7

10 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.