godoc-hl 🔍
Published at November 8, 2023
Sometime i forgot to fix bug that i marked as todo in comment. So ,this tool help extract highlighted comment that contain special keyword before pre-commit.
Installation
go install github.com/diontr00/go-dochl@latest
Usage
Default Keywords: [todo, fixme, bug, hack ] Any comment start with either of them (case insensitive) will be highlighted and extracted into and print toward stdout.
Using with pre-commit:
repos:
- repo: https://github.com/diontr00/go-dochl
rev: latest
hooks:
- id: go-dochl
args: [--keys="TODO,FIX,HACK"] # optional