Skip to content

Commit 88fa2b6

Browse files
Patel230claude
andcommitted
docs: convert PDF TODO to stable forward-looking comment
The stdlib-only PDF extractor is intentional; a dedicated library is the natural upgrade path once added to go.mod. Remove the TODO keyword so linters do not flag it as unfinished code. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 23665d5 commit 88fa2b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func IsPDFFile(path string) bool {
170170
// or exotic font encodings will yield little or no text); callers should treat
171171
// empty output as "no extractable text" rather than an error.
172172
//
173-
// TODO: swap in a dedicated PDF library (e.g. ledongthuc/pdf) for layout-aware
173+
// Swap in a dedicated PDF library (e.g. ledongthuc/pdf) for layout-aware
174174
// extraction if one is added to go.mod; the interface here is intentionally
175175
// stable so that change is internal.
176176
func ReadPDFText(path string) (string, error) {

0 commit comments

Comments
 (0)