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

Method Count

internal/repository/sms.go:82–84  ·  view source on GitHub ↗
(ctx context.Context, number string)

Source from the content-addressed store, hash-verified

80}
81
82func (s *smsRepository) Count(ctx context.Context, number string) int {
83 return s.cache.Count(ctx, number)
84}
85
86func (s *smsRepository) IncrCnt(ctx context.Context, number string) error {
87 return s.cache.IncrCnt(ctx, number)

Callers

nothing calls this directly

Calls 1

CountMethod · 0.65

Tested by

no test coverage detected