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

Function FavoriteList

controller/favorite.go:20–27  ·  view source on GitHub ↗

FavoriteList all users have same favorite video list

(c *gin.Context)

Source from the content-addressed store, hash-verified

18
19// FavoriteList all users have same favorite video list
20func FavoriteList(c *gin.Context) {
21 c.JSON(http.StatusOK, VideoListResponse{
22 Response: Response{
23 StatusCode: 0,
24 },
25 VideoList: DemoVideos,
26 })
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected