Skip to content

Commit 849148d

Browse files
committed
docs: update development of go sdk and server details.
1 parent a925211 commit 849148d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docs/guides/solution/developNewFeatures.mdx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -339,15 +339,6 @@ func (r *Relation) AddFriendCategory(ctx context.Context, req *relation.AddFrien
339339
}
340340
```
341341

342-
将这个接口定义到 `open_im_sdk/relation.go` 中,以便下游 SDK 调用。
343-
344-
```go
345-
func AddFriendCategory(callback open_im_sdk_callback.Base, operationID string, req string){
346-
call(callback, operationID, UserForSDK.Relation().AddFriendCategory, req)
347-
}
348-
在相应模块的 `api.go` 中定义对应的方法,如:
349-
```
350-
351342
## 2、实现 SDK 接口业务逻辑
352343

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

0 commit comments

Comments
 (0)