aliyun / aliyun-log-go-sdk

alibabacloud log service SDK
https://www.alibabacloud.com/product/log-service
MIT License
233 stars 113 forks source link

List project client does not support offset and size #19

Closed sluongng closed 6 years ago

sluongng commented 6 years ago

Relevant code: https://github.com/aliyun/aliyun-log-go-sdk/blob/40321a72c0d708abd233f1f51d484d5f8a3df3a5/client.go#L178

API reference: https://www.alibabacloud.com/help/doc-detail/74955.htm?spm=a2c63.p38356.b99.238.7a9a3481wLI7tF

Missing offset and size parameters in this function.

Suggest solution:

add offset and size to URI, similar to https://github.com/aliyun/aliyun-log-go-sdk/blob/master/client_store.go#L35

shabicheng commented 6 years ago

Thanks for you suggestion, we add a interface : ListProjectV2 https://github.com/aliyun/aliyun-log-go-sdk/blob/master/client.go#L220 commit d88f2888547cfc813397328396e3081f4605a620