Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ToFile support to write the response into a file #5087

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chengxiangdong
Copy link
Collaborator

@chengxiangdong chengxiangdong commented Jun 27, 2024

What this PR does / why we need it:

Which issue this PR fixes:
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
fixes #xxx

Special notes for your reviewer:

Release note:


PR Checklist

  • Tests added/passed.
  • Documentation updated.
  • Schema updated.

Example

output_file := w.Get("output_file")
err = httphelper.New(client).
	Method("GET").
	URI(uri).
	Query(params).
	MarkerPager("address_groups", "page_info.next_marker", "marker").
	ToFile("address_groups", outputFile)

@github-ci-robot github-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 27, 2024
@github-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This PR has been approved by: @chengxiangdong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. feature size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants