summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
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!