Versions in this module Expand all Collapse all v1 v1.131.0 Sep 10, 2026 Changes in this version + func MayHoldText(mimeType string) bool + type Form string + const FormImage + const FormOpaque + const FormText + type PDFTextExtractor interface + ExtractText func(ctx context.Context, body []byte, limit int) (string, error) + type Reader struct + func New(pdf PDFTextExtractor) *Reader + func (r *Reader) Read(ctx context.Context, mimeType, name string, body []byte, limit int) Result + type Result struct + Form Form + Note string + Text string + Truncated bool