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

Function FollowList

controller/relation.go:25–32  ·  view source on GitHub ↗

FollowList all users have same follow list

(c *gin.Context)

Source from the content-addressed store, hash-verified

23
24// FollowList all users have same follow list
25func FollowList(c *gin.Context) {
26 c.JSON(http.StatusOK, UserListResponse{
27 Response: Response{
28 StatusCode: 0,
29 },
30 UserList: []User{DemoUser},
31 })
32}
33
34// FollowerList all users have same follower list
35func FollowerList(c *gin.Context) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected