Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoSimplicity/LinkMe
/ CheckCode
Method
CheckCode
internal/repository/email.go:48–51 ·
view source on GitHub ↗
(ctx context.Context, email, vCode string)
Source
from the content-addressed store, hash-verified
46
}
47
48
func
(e emailRepository) CheckCode(ctx context.Context, email, vCode string) (bool, error) {
49
storedCode, err := e.cache.GetVCode(ctx, email)
50
return
storedCode == vCode, err
51
}
Callers
nothing calls this directly
Calls
1
GetVCode
Method · 0.65
Tested by
no test coverage detected