package repostatus import ( "go.wit.com/gui/gui" "go.wit.com/gui/gadgets" ) func New(p *gui.Node, path string) *RepoStatus { rs := &RepoStatus { hidden: true, ready: false, parent: p, repopath: path, } rs.tags = make(map[string]string) rs.window = gadgets.NewBasicWindow(p, "GO Repo Details " + path) rs.window.Horizontal() rs.window.Make() rs.ready = true rs.draw() return rs }