restructure container,connectors in subpackage

This commit is contained in:
Bradley Cicenas
2017-06-08 14:51:02 +00:00
parent 8fb7a8988f
commit b85ca680f0
9 changed files with 50 additions and 32 deletions

View File

@@ -2,6 +2,7 @@ package main
import (
"github.com/bcicen/ctop/config"
"github.com/bcicen/ctop/container"
"github.com/bcicen/ctop/widgets"
"github.com/bcicen/ctop/widgets/menu"
ui "github.com/gizak/termui"
@@ -74,7 +75,7 @@ func SortMenu() {
m.SortItems = true
m.BorderLabel = "Sort Field"
for _, field := range SortFields() {
for _, field := range container.SortFields() {
m.AddItems(menu.Item{field, ""})
}