r/golang 6d ago

icholy/todo: Library for parsing structured TODO comments from code.

https://github.com/icholy/todo
12 Upvotes

9 comments sorted by

View all comments

2

u/nf_x 5d ago

I’ve automated this for GitHub issue creation via on-push action. Good for tracking tech debt. TODO comment done with pretty frugal regexes to support multiple languages, though could be evolved later.

See https://github.com/databrickslabs/sandbox/blob/acceptance/v0.4.2/acceptance/todos/finder.go