Len returns the number of todo items.
(ctx context.Context)
| 123 | All(ctx context.Context) []Todo |
| 124 | // Len returns the number of todo items. |
| 125 | Len(ctx context.Context) int |
| 126 | // FindByID returns the index of the todo with the given ID, or -1 if not found. |
| 127 | FindByID(ctx context.Context, id string) int |
| 128 | // Update modifies the todo at the given index using the provided function. |
no outgoing calls