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

Method IncrementReadCount

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

Source from the content-addressed store, hash-verified

45}
46
47func (i *Interactive) IncrementReadCount() {
48 atomic.AddInt64(&i.ReadCount, 1)
49}
50
51func (i *Interactive) IncrementLikeCount() {
52 atomic.AddInt64(&i.LikeCount, 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected