feature 添加TUI组件
Showing
Done.md
0 → 100644
cmd/dcutop/backend/main.go
0 → 100644
cmd/dcutop/tui/header.go
0 → 100644
cmd/dcutop/tui/main.go
0 → 100644
cmd/dcutop/tui/tui_test.go
0 → 100644
| ... | @@ -3,6 +3,7 @@ module get-container | ... | @@ -3,6 +3,7 @@ module get-container |
| go 1.24.2 | go 1.24.2 | ||
| require ( | require ( | ||
| github.com/NimbleMarkets/ntcharts v0.3.1 | |||
| github.com/charmbracelet/bubbletea v1.3.10 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| github.com/charmbracelet/lipgloss v1.1.0 | github.com/charmbracelet/lipgloss v1.1.0 | ||
| github.com/moby/moby/api v1.52.0-beta.2 | github.com/moby/moby/api v1.52.0-beta.2 | ||
| ... | @@ -14,6 +15,7 @@ require ( | ... | @@ -14,6 +15,7 @@ require ( |
| github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect | github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect | ||
| github.com/Microsoft/go-winio v0.6.2 // indirect | github.com/Microsoft/go-winio v0.6.2 // indirect | ||
| github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect | github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect | ||
| github.com/charmbracelet/bubbles v0.20.0 // indirect | |||
| github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect | github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect | ||
| github.com/charmbracelet/x/ansi v0.10.1 // indirect | github.com/charmbracelet/x/ansi v0.10.1 // indirect | ||
| github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect | github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect | ||
| ... | @@ -29,6 +31,7 @@ require ( | ... | @@ -29,6 +31,7 @@ require ( |
| github.com/go-logr/logr v1.4.2 // indirect | github.com/go-logr/logr v1.4.2 // indirect | ||
| github.com/go-logr/stdr v1.2.2 // indirect | github.com/go-logr/stdr v1.2.2 // indirect | ||
| github.com/go-ole/go-ole v1.2.6 // indirect | github.com/go-ole/go-ole v1.2.6 // indirect | ||
| github.com/lrstanley/bubblezone v0.0.0-20240914071701-b48c55a5e78e // indirect | |||
| github.com/lucasb-eyer/go-colorful v1.2.0 // indirect | github.com/lucasb-eyer/go-colorful v1.2.0 // indirect | ||
| github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect | github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect | ||
| github.com/mattn/go-isatty v0.0.20 // indirect | github.com/mattn/go-isatty v0.0.20 // indirect | ||
| ... | @@ -53,5 +56,5 @@ require ( | ... | @@ -53,5 +56,5 @@ require ( |
| go.opentelemetry.io/otel/metric v1.35.0 // indirect | go.opentelemetry.io/otel/metric v1.35.0 // indirect | ||
| go.opentelemetry.io/otel/trace v1.35.0 // indirect | go.opentelemetry.io/otel/trace v1.35.0 // indirect | ||
| golang.org/x/sys v0.36.0 // indirect | golang.org/x/sys v0.36.0 // indirect | ||
| golang.org/x/text v0.3.8 // indirect | golang.org/x/text v0.20.0 // indirect | ||
| ) | ) |
utils/system.go
0 → 100644
utils/system_test.go
0 → 100644
Please register or sign in to comment