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

Implement group_add_member. #17

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

Conversation

m-vinc
Copy link

@m-vinc m-vinc commented Jul 23, 2024

Hello,
i'm currently implementing my first "group" call I need,

First, I copied the rpc function and create rpcContext which is an exact copy but instead taking a context and use it while creating the http.Request struct.

For the group_add_member call itself It's very simple but I want to know your opinion about if you prefer this kind of generic function or if we create a private function like groupAddMember and create different functios abstracting the memberType like GroupAddUser GroupAddGroup and so on.

Oh and I also change every call to ioutil to the os package since ioutil is deprecated now !

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.

1 participant