MCPcopy Create free account
hub / github.com/RaymondCode/simple-demo / FriendList

Function FriendList

controller/relation.go:45–52  ·  view source on GitHub ↗

FriendList all users have same friend list

(c *gin.Context)

Source from the content-addressed store, hash-verified

43
44// FriendList all users have same friend list
45func FriendList(c *gin.Context) {
46 c.JSON(http.StatusOK, UserListResponse{
47 Response: Response{
48 StatusCode: 0,
49 },
50 UserList: []User{DemoUser},
51 })
52}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected