MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / getCurrentTime

Method getCurrentTime

internal/repository/dao/interactive.go:85–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (i *interactiveDAO) getCurrentTime() int64 {
86 return time.Now().UnixMilli()
87}
88
89// IncrReadCnt 增加阅读计数,使用UPSERT优化写入性能
90func (i *interactiveDAO) IncrReadCnt(ctx context.Context, postId uint) error {

Callers 5

IncrReadCntMethod · 0.95
InsertLikeInfoMethod · 0.95
DeleteLikeInfoMethod · 0.95
InsertCollectionBizMethod · 0.95
DeleteCollectionBizMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected