package tui import ( "get-container/gpu" tea "github.com/charmbracelet/bubbletea" ) type ModelDCUInfo struct { DCUNum int // dcu数量 width, height int // 终端的尺寸 DCUStaticInfo []gpu.SMIAllOutput DCURunningInfo []gpu.DCURunningInfo } func (m *ModelDCUInfo) Init() tea.Cmd { return nil } func (m *ModelDCUInfo) Update(msg tea.Msg) (tea.Model, tea.Cmd) { return m, nil } func (m *ModelDCUInfo) View() string { return "" }