summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-06 15:21:36 -0500
committerJeff Carr <[email protected]>2025-09-06 15:21:36 -0500
commite5a2bec217990c7149b0b16b40112d0a947be794 (patch)
tree0ca90150e7b6fceeb87b6190101995a03429937c /structs.go
parente713541b35f16b2f67f3458a5168640de996f8bc (diff)
cleanup after crazy "http://foo.com//blah" issue
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 1d4a1f4..6a25fc1 100644
--- a/structs.go
+++ b/structs.go
@@ -20,6 +20,11 @@ func (b *mainType) Enable() {
b.mainbox.Enable()
}
+// returns the server to connect to
+func myServer() string {
+ return me.forge.GetForgeURL()
+}
+
// this app's variables
type mainType struct {
pp *arg.Parser // for parsing the command line args. Yay to alexf lint!