Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sagikazarmark/modern-go-application
/ IDGenerator
Interface
IDGenerator
internal/app/mga/todo/service.go:35–38 ·
view source on GitHub ↗
IDGenerator generates a new ID.
Source
from the content-addressed store, hash-verified
33
34
// IDGenerator generates a new ID.
35
type
IDGenerator
interface
{
36
// Generate generates a new ID.
37
Generate() (string, error)
38
}
39
40
// Store provides todo persistence.
41
type
Store
interface
{
Callers
1
CreateTodo
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected