From 87346d9452b38db517e76e070f11928060bc2b99 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 9 Jan 2024 15:34:53 -0600 Subject: initial commit --- structs.go | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 structs.go (limited to 'structs.go') diff --git a/structs.go b/structs.go new file mode 100644 index 0000000..b2b8b94 --- /dev/null +++ b/structs.go @@ -0,0 +1,38 @@ +package repostatus + +import ( + "go.wit.com/gui/gui" + "go.wit.com/gui/gadgets" +) + +type RepoStatus struct { + ready bool + hidden bool + changed bool + + repopath string + lasttagrev string + tags map[string]string + + parent *gui.Node + + window *gadgets.BasicWindow + group *gui.Node + grid *gui.Node + +// status *gadgets.OneLiner + dirtyLabel *gadgets.OneLiner + path *gadgets.OneLiner + + currentBranch *gadgets.OneLiner + currentVersion *gadgets.OneLiner + tagsDrop *gui.Node + + lasttag *gadgets.OneLiner + masterBranch *gadgets.OneLiner + develBranch *gadgets.OneLiner + jcarrBranch *gadgets.OneLiner + + speed *gadgets.OneLiner + speedActual *gadgets.OneLiner +} -- cgit v1.2.3