Удаление ненужных сообщений, удаление дублирования кода update viewport final, исправление приведени типов, работа над viewport form, исправление динамических секций
This commit is contained in:
parent
300afb5d26
commit
ecc89e34c5
11 changed files with 168 additions and 142 deletions
15
types/msg.go
15
types/msg.go
|
|
@ -8,11 +8,6 @@ type SelectedAppMsg struct {
|
|||
|
||||
type BackToListMsg struct{}
|
||||
|
||||
type SelectedOptionMsg struct {
|
||||
FieldIndex int
|
||||
Value string
|
||||
}
|
||||
|
||||
type NextSectionMsg struct{}
|
||||
|
||||
type SugarMsg struct {
|
||||
|
|
@ -22,16 +17,6 @@ type SugarMsg struct {
|
|||
Focus int
|
||||
}
|
||||
|
||||
type SelectedDirMsg struct {
|
||||
DirectoryName string
|
||||
Index int
|
||||
}
|
||||
|
||||
type SelectedFileMsg struct {
|
||||
Filename string
|
||||
Index int
|
||||
}
|
||||
|
||||
type ShowModalMsg struct {
|
||||
Type ModalType
|
||||
Title string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue