You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
206 B
Go

8 years ago
package ui
type UI interface {
Run(chan Event) error
}
type Event interface {
isUIEvent()
}
type event struct{}
func (e event) isUIEvent() {}
type SelectDirectoryEvent struct {
Path string
event
8 years ago
}