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

Function FollowerList

controller/relation.go:35–42  ·  view source on GitHub ↗

FollowerList all users have same follower list

(c *gin.Context)

Source from the content-addressed store, hash-verified

33
34// FollowerList all users have same follower list
35func FollowerList(c *gin.Context) {
36 c.JSON(http.StatusOK, UserListResponse{
37 Response: Response{
38 StatusCode: 0,
39 },
40 UserList: []User{DemoUser},
41 })
42}
43
44// FriendList all users have same friend list
45func FriendList(c *gin.Context) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected