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

Function getCountKey

internal/repository/cache/sms.go:45–47  ·  view source on GitHub ↗
(number string, now time.Time)

Source from the content-addressed store, hash-verified

43}
44
45func getCountKey(number string, now time.Time) string {
46 return fmt.Sprintf(CountKey, number, now.Format("2006-01-02"))
47}
48
49// GetVCode 获取短信验证码
50func (s *smsCache) GetVCode(ctx context.Context, smsID, number string) (string, error) {

Callers 2

CountMethod · 0.85
IncrCntMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected