diff options
| author | Jeff Carr <[email protected]> | 2024-01-13 23:27:46 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-13 23:27:46 -0600 |
| commit | 15bcdb006e14840bae125a98ff479038e37eb47a (patch) | |
| tree | fcac3702d398169b4549bf2ccfb0f233feaad2fe /structs.go | |
| parent | b700881b43b0c64b1d0faf25b0747a5c7294fce3 (diff) | |
code reorg
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/structs.go b/structs.go new file mode 100644 index 0000000..b56cbc1 --- /dev/null +++ b/structs.go @@ -0,0 +1,42 @@ +// This is a simple example +package main + +import ( +// "os/user" +// "io/ioutil" +// "strings" + +// "go.wit.com/log" + + "go.wit.com/gui/gui" +// "go.wit.com/gui/gadgets" + "go.wit.com/gui/gadgets/repostatus" +// "go.wit.com/apps/control-panel-dns/smartwindow" +) + +var myGui *gui.Node + +var allrepos []*repo + +type repo struct { + path string + lasttagrev string + lasttag string + tags []string + + pLabel *gui.Node // path label + bLabel *gui.Node // branch label + lastLabel *gui.Node // last tagged version label + vLabel *gui.Node // version label + // tagsDrop *gui.Node // list of all tags + dirtyLabel *gui.Node // git state (dirty or not?) + + masterVersion *gui.Node // the master branch version + develVersion *gui.Node // the devel branch version + jcarrVersion *gui.Node // the jcarr branch version + + cButton *gui.Node // commit button + pButton *gui.Node // push button + + status *repostatus.RepoStatus +} |
