Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoSimplicity/LinkMe
/ functions
Functions
1,482 in github.com/GoSimplicity/LinkMe
⨍
Functions
1,482
◇
Types & classes
383
Method
GetHistory
(ctx context.Context, pagination domain.Pagination)
internal/repository/history.go:12
Method
GetHistory
GetHistory 获取历史记录
internal/repository/history.go:31
Method
GetHistory
GetHistory 获取历史记录
internal/api/history.go:31
Method
GetLikeInfo
GetLikeInfo 获取点赞信息
internal/repository/dao/interactive.go:281
Method
GetList
GetList 获取帖子列表缓存
internal/repository/cache/post.go:192
Method
GetLotteryDraw
GetLotteryDraw 从缓存中获取指定ID的抽奖活动
internal/repository/cache/lotteryDraw.go:18
Method
GetLotteryDraw
GetLotteryDraw 获取指定ID的抽奖活动
internal/api/lotteryDraw.go:99
Method
GetLotteryDrawByID
GetLotteryDrawByID 根据ID获取抽奖活动
internal/service/lotteryDraw.go:506
Method
GetLotteryDrawByID
GetLotteryDrawByID 根据 ID 获取指定的抽奖活动
internal/repository/lotteryDraw.go:74
Method
GetLotteryDrawByID
(ctx context.Context, id int)
internal/repository/dao/lotteryDraw.go:13
Method
GetLotteryDrawByID
GetLotteryDrawByID 根据ID获取指定的抽奖活动
internal/repository/dao/lotteryDraw.go:92
Method
GetLotteryDrawWithLock
GetLotteryDrawWithLock 在缓存未命中时,使用分布式锁从数据库获取并设置缓存
internal/repository/cache/lotteryDraw.go:24
Method
GetLotteryDrawWithLock
GetLotteryDrawWithLock 在缓存未命中时,使用分布式锁从数据库获取并设置缓存
internal/repository/cache/lotteryDraw.go:128
Method
GetMenuById
GetMenuById 根据ID获取菜单
internal/service/menu.go:64
Method
GetMenuById
GetMenuById 根据ID获取菜单
internal/repository/menu.go:38
Method
GetMenuById
(ctx context.Context, id int)
internal/repository/dao/menu.go:35
Method
GetMenuById
GetMenuById 根据ID获取菜单
internal/repository/dao/menu.go:99
Method
GetMenuTree
GetMenuTree 获取菜单树形结构
internal/service/menu.go:94
Method
GetMenuTree
GetMenuTree 获取菜单树
internal/repository/menu.go:66
Method
GetMenuTree
(ctx context.Context)
internal/repository/dao/menu.go:39
Method
GetMenuTree
GetMenuTree 获取菜单树形结构
internal/repository/dao/menu.go:278
Method
GetMenus
GetMenus 获取菜单列表,支持分页和树形结构
internal/service/menu.go:34
Method
GetMoreCommentReply
GetMoreCommentReply 获取更多评论回复处理器方法
internal/api/comment.go:112
Method
GetMoreCommentsReply
GetMoreCommentsReply 获取更多评论回复的实现
internal/service/comment.go:79
Method
GetMoreCommentsReply
GetMoreCommentsReply 获取更多评论回复
internal/repository/comment.go:63
Method
GetMoreCommentsReply
(ctx context.Context, rootId, maxId, limit int64)
internal/repository/dao/comment.go:43
Method
GetMoreCommentsReply
GetMoreCommentsReply 获取更多评论回复
internal/repository/dao/comment.go:101
Function
GetParamID
GetParamID 从查询参数中解析 ID,并进行类型转换
pkg/apiresponse/apiresponse.go:342
Function
GetParamName
GetParamName 从查询参数中解析 Name,并进行类型转换
pkg/apiresponse/apiresponse.go:368
Method
GetPost
GetPost 获取帖子
internal/service/post.go:204
Method
GetPost
GetPost 获取帖子
internal/repository/post.go:268
Method
GetPost
(ctx context.Context, postId uint)
internal/repository/dao/post.go:30
Method
GetPost
GetPost 获取帖子
internal/repository/dao/post.go:304
Method
GetPost
GetPost 获取帖子详情
internal/api/post.go:336
Method
GetPostById
GetPostById 获取帖子详细信息
internal/service/post.go:107
Method
GetPostById
(ctx context.Context, postId uint, uid int64)
internal/repository/post.go:26
Method
GetPostsByPlate
GetPostsByPlate 根据板块获取帖子
internal/service/post.go:226
Method
GetPostsByPlate
(ctx context.Context, plateId int64, pagination domain.Pagination)
internal/repository/post.go:323
Method
GetPostsByPlate
(ctx context.Context, plateId int64, pagination domain.Pagination)
internal/repository/dao/post.go:32
Method
GetPostsByPlate
GetPostsByPlate 根据板块获取帖子
internal/repository/dao/post.go:351
Method
GetPostsByPlate
GetPostsByPlate 根据板块获取帖子
internal/api/post.go:363
Method
GetPostsCount
GetPostsCount 获取帖子数量
internal/service/post.go:221
Method
GetPostsCount
(ctx context.Context)
internal/repository/post.go:319
Method
GetPostsCount
(ctx context.Context)
internal/repository/dao/post.go:31
Method
GetPostsCount
GetPostsCount 获取帖子总数
internal/repository/dao/post.go:341
Method
GetPostsCount
GetPostsCount 获取帖子总数
internal/api/post.go:353
Method
GetProfile
GetProfile 通过用户ID获取用户资料
internal/repository/user.go:168
Method
GetProfile
GetProfile 获取用户资料
internal/api/user.go:252
Method
GetProfileByUserID
GetProfileByUserID 获取用户资料
internal/service/user.go:203
Method
GetProfileByUserID
GetProfileByUserID mocks base method.
internal/service/mocks/user.mock.go:73
Method
GetProfileByUserID
GetProfileByUserID indicates an expected call of GetProfileByUserID.
internal/service/mocks/user.mock.go:82
Method
GetProfileByUserID
(ctx context.Context, userId int64)
internal/repository/dao/user.go:223
Method
GetPub
GetPub 获取已发布帖子缓存
internal/repository/cache/post.go:375
Method
GetPubById
GetPubById 获取已发布的帖子
internal/repository/dao/post.go:247
Method
GetPubList
GetPubList 获取已发布帖子列表缓存
internal/repository/cache/post.go:273
Method
GetPublishPostById
GetPublishPostById 获取已发布的帖子详细信息
internal/service/post.go:134
Method
GetPublishPostById
(ctx context.Context, postId uint)
internal/repository/post.go:27
Method
GetPublishPostById
GetPublishPostById 获取已发布的帖子详细信息
internal/repository/post.go:136
Function
GetQueryID
GetQueryID 从query参数中解析 ID,并进行类型转换
pkg/apiresponse/apiresponse.go:355
Method
GetRanking
GetRanking 获取排行榜
internal/api/ranking.go:32
Method
GetRankingConfig
(ctx *gin.Context)
internal/api/ranking.go:41
Method
GetRecentActivity
(ctx context.Context)
internal/service/activity.go:24
Method
GetRecentActivity
(ctx context.Context)
internal/repository/activity.go:25
Method
GetRecentActivity
(ctx context.Context)
internal/repository/dao/activity.go:11
Method
GetRecentActivity
(ctx context.Context)
internal/repository/dao/activity.go:34
Method
GetRecentActivity
GetRecentActivity 获取最近的活动记录
internal/api/activity.go:32
Method
GetRole
GetRole 根据角色ID获取角色信息
internal/service/role.go:99
Method
GetRole
GetRole 根据角色ID获取角色信息
internal/repository/role.go:67
Method
GetRole
(ctx context.Context, roleId int)
internal/repository/dao/role.go:36
Method
GetRole
GetRole 获取角色详细信息(包含权限)
internal/repository/dao/role.go:276
Method
GetRoleById
GetRoleById 根据ID获取角色信息
internal/service/role.go:53
Method
GetRoleById
GetRoleById 根据ID获取角色
internal/repository/role.go:39
Method
GetRoleById
(ctx context.Context, id int)
internal/repository/dao/role.go:32
Method
GetRoleById
GetRoleById 根据ID获取角色
internal/repository/dao/role.go:110
Method
GetRoles
GetRoles 获取角色详情
internal/api/role.go:187
Method
GetSecondKillEvent
GetSecondKillEvent 从缓存中获取指定ID的秒杀活动
internal/repository/cache/lotteryDraw.go:27
Method
GetSecondKillEvent
GetSecondKillEvent 获取指定ID的秒杀活动
internal/api/lotteryDraw.go:185
Method
GetSecondKillEventByID
GetSecondKillEventByID 根据ID获取秒杀活动
internal/service/lotteryDraw.go:582
Method
GetSecondKillEventByID
GetSecondKillEventByID 根据 ID 获取指定的秒杀活动
internal/repository/lotteryDraw.go:145
Method
GetSecondKillEventByID
(ctx context.Context, id int)
internal/repository/dao/lotteryDraw.go:19
Method
GetSecondKillEventByID
GetSecondKillEventByID 根据ID获取指定的秒杀活动
internal/repository/dao/lotteryDraw.go:185
Method
GetSecondKillEventWithLock
GetSecondKillEventWithLock 在缓存未命中时,使用分布式锁从数据库获取并设置缓存
internal/repository/cache/lotteryDraw.go:33
Method
GetSecondKillEventWithLock
GetSecondKillEventWithLock 在缓存未命中时,使用分布式锁从数据库获取并设置缓存
internal/repository/cache/lotteryDraw.go:245
Method
GetTopCommentReply
(ctx *gin.Context, req req.GetTopCommentReplyReq)
internal/api/comment.go:127
Method
GetTopCommentsReply
(ctx context.Context, postId int64)
internal/service/comment.go:120
Method
GetTopCommentsReply
(ctx context.Context, postId int64)
internal/repository/comment.go:26
Method
GetTopCommentsReply
GetTopCommentsReply 加载顶级评论
internal/repository/comment.go:72
Method
GetTopN
GetTopN 获取排名前 N 的帖子
internal/service/ranking.go:81
Method
GetTopN
(ctx context.Context)
internal/repository/ranking.go:14
Method
GetTopN
GetTopN 从缓存中获取排名前 N 的帖子
internal/repository/ranking.go:32
Method
GetUserRole
GetUserRole 获取用户的角色信息
internal/service/role.go:109
Method
GetUserRole
GetUserRole 获取用户的角色信息
internal/repository/role.go:79
Method
GetUserRole
(ctx context.Context, userId int)
internal/repository/dao/role.go:37
Method
GetUserRole
GetUserRole 获取用户的角色信息
internal/repository/dao/role.go:332
Method
GetUserRoles
GetUserRoles 获取用户角色
internal/api/role.go:167
Method
GetVCode
(ctx context.Context, email string)
internal/repository/cache/email.go:11
Method
GetVCode
(ctx context.Context, email string)
internal/repository/cache/email.go:25
Method
GetVCode
GetVCode 获取短信验证码
internal/repository/cache/sms.go:50
Method
HandleMessage
(msg *sarama.ConsumerMessage, emailEvent EmailEvent)
internal/domain/events/email/consumer.go:50
Method
HandleMessage
(msg *sarama.ConsumerMessage, smsEvent SMSCodeEvent)
internal/domain/events/sms/consumer.go:57
← previous
next →
1,001–1,100 of 1,482, ranked by callers