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: list groups by ids #191

Merged
merged 2 commits into from
Sep 21, 2023
Merged

feat: list groups by ids #191

merged 2 commits into from
Sep 21, 2023

Conversation

BarryTong65
Copy link
Collaborator

Description

support list groups by ids
update payment account info in list user payment account

Rationale

N/A

Example

N/A

Changes

Notable changes:

  • support list groups by ids
  • update payment account info in list user payment account
  • update examples cases

Value *types.GroupMeta
}

func (m *GfSpListGroupsByGroupIDsResponse) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment ,

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -74,6 +74,8 @@ type Group interface {
// ListGroupsByOwner returns a list of groups owned by the specified user, including those for which the user's expiration time has already elapsed
// By default, the user is the sender. Other users can be set using the option
ListGroupsByOwner(ctx context.Context, opts types.GroupsOwnerPaginationOptions) (*types.GroupsResult, error)
// ListGroupsByGroupID list groups by group ids
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this comment

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed


type GfSpListGroupsByGroupIDsResponse map[uint64]*types.GroupMeta

type GroupEntry struct {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to expose these fields to the user, please start with lowercase letters.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -568,3 +570,106 @@ func (c *client) ListGroupsByOwner(ctx context.Context, opts types.GroupsOwnerPa

return groups, nil
}

type GfSpListGroupsByGroupIDsResponse map[uint64]*types.GroupMeta
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to expose these fields to the user, please start with lowercase letters.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@BarryTong65 BarryTong65 reopened this Sep 21, 2023
@BarryTong65 BarryTong65 added this pull request to the merge queue Sep 21, 2023
Merged via the queue into develop with commit 236d44c Sep 21, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants