feat(统一输入): 统一流式输入及接口命名
build.yaml / build (push) Successful in 43s

This commit is contained in:
xiaoqidun committed 2026-10-19 08:43:50 +08:00
1 parent 151ddb0a20
commit d97c6f4e6f
60 files changed
+570 -262

No files matched your search

+1 -1
View File
@@ -271,7 +271,7 @@ func (n *pdfNavigation) writeAttachments(ctx context.Context, options *pdfgo.Rew
if err != nil {
return fmt.Errorf("read attachment %s: %w", id, err)
}
data, err := io.ReadAll(imageInput{ReadCloser: input, context: ctx})
data, err := io.ReadAll(imageInput{ReadCloser: input, ctx: ctx})
closeErr := input.Close()
if err != nil {
return fmt.Errorf("read attachment %s: %w", id, err)