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

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.