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

Method IncrementLikeCount

internal/domain/post.go:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (i *Interactive) IncrementLikeCount() {
52 atomic.AddInt64(&i.LikeCount, 1)
53}
54
55func (i *Interactive) IncrementCollectCount() {
56 atomic.AddInt64(&i.CollectCount, 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected