6 CreatedEvent EventType = "created"
7 UpdatedEvent EventType = "updated"
8 DeletedEvent EventType = "deleted"
11type Suscriber[T any] interface {
12 Subscribe(context.Context) <-chan Event[T]
16 // EventType identifies the type of event
19 // Event represents an event in the lifecycle of a resource
25 Publisher[T any] interface {
30// UpdateAvailableMsg is sent when a new version is available.
31type UpdateAvailableMsg struct {
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list