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

docs: update development of go sdk and server details. #252

Merged
merged 7 commits into from
Jan 9, 2025
9 changes: 0 additions & 9 deletions docs/guides/solution/developNewFeatures.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,6 @@ func (r *Relation) AddFriendCategory(ctx context.Context, req *relation.AddFrien
}
```

将这个接口定义到 `open_im_sdk/relation.go` 中,以便下游 SDK 调用。

```go
func AddFriendCategory(callback open_im_sdk_callback.Base, operationID string, req string){
call(callback, operationID, UserForSDK.Relation().AddFriendCategory, req)
}
在相应模块的 `api.go` 中定义对应的方法,如:
```

## 2、实现 SDK 接口业务逻辑

我们需要在 `internal/relation/api.go` 中实现对应的逻辑方法:
Expand Down
Loading