IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

Add GetQueryParam utility method to support pagination #98

Closed mkistler closed 3 years ago

mkistler commented 3 years ago

This PR adds a small utility method to extract the value of a query parameter from a URL string. This will be used in the pagination support for Go.

mkistler commented 3 years ago

I've marked this as a draft because I think we should hold off merging until the rest of the pagination support is worked out, but I wanted to post this to get feedback on the design/implementation.

mkistler commented 3 years ago

One more variation to add to the tests: repeated query param.

mkistler commented 3 years ago

@padamstx Pls have one more look before I push the green button.

ibm-devx-automation commented 3 years ago

:tada: This PR is included in version 5.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: