Bug fix
- Fix Adobe Acrobat's false "save changes?" prompt by adding
/IDand/Infoto PDF trailer
Improvements
- Add Makefile with full lint pipeline (gofmt, vet, gocyclo, ineffassign, misspell, staticcheck, govulncheck)
- Reduce
extractTablePagecyclomatic complexity from 45 → 29 - Reduce
findTableColumnsfrom 41 → 17 - Fix error handling in
Finish(checkWriteObject/writeValuereturns) - Content-derived document ID (MD5 of full buffer per PDF spec)
- Remove dead code (
asString, unusednumssort) - Fix all gofmt, staticcheck findings