From 9530acb2f8bf1c23706cc1414700fc0678f01544 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Wed, 25 Sep 2019 16:52:58 -0400 Subject: [PATCH] Func to upload file, not implemented --- main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.go b/main.go index d502ab7..bb26430 100644 --- a/main.go +++ b/main.go @@ -75,6 +75,11 @@ func sendChat(message string) { chat.Send(message) } +func uploadFile(g *gocui.Gui, fileName string, fileTitle string) { + chat := k.NewChat(channel) + chat.Upload(fileTitle, fileName) +} + func populateList(g *gocui.Gui) { _, maxY := g.Size() if testVar, err := k.ChatList(); err != nil {