- Create internal/editor/state.go with State struct and EditorLayout - Create internal/editor/logic.go with Logic struct and Run method - Logic owns all state, provides channels for config, frames, input, results - Main goroutine uses editor.NewLogic() and logic.Run() - Proper separation for testing later Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
8.3 MiB
Executable File
8.3 MiB
Executable File
The file is too large to be shown.
View Raw