about summary refs log tree commit diff stats
path: root/main.go
diff options
context:
space:
mode:
authorBenny Morrison <benmorrison@ttm.sh>2019-03-17 02:02:41 -0400
committerBenny Morrison <benmorrison@ttm.sh>2019-03-17 02:02:41 -0400
commiteb48e13e5791488d1f291ef7bcffffc2440b8c87 (patch)
treefa61c0dc8425f38ae172c57a4a10a649a389803e /main.go
parent24ec17ab17eaa652c9718a1c7804fa976ae7eb82 (diff)
downloadgoofbot-eb48e13e5791488d1f291ef7bcffffc2440b8c87.tar.gz
removed output variable, set to os.Stdout constant
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.go b/main.go
index bea20ed..2eee1ce 100644
--- a/main.go
+++ b/main.go
@@ -3,9 +3,9 @@ package main
 import (
 	"bytes"
 	"encoding/json"
-	"io"
 	"io/ioutil"
 	"log"
+	"os"
 	"os/exec"
 	"strings"
 	"time"
@@ -27,7 +27,6 @@ type Conf struct {
 	Nick   string
 	User   string
 	Name   string
-	Out    io.Writer
 	SSL    bool
 }
 
@@ -48,7 +47,7 @@ func main() {
 		Nick:   conf.Nick,
 		User:   conf.User,
 		Name:   conf.Name,
-		Out:    conf.Out,
+		Out:    os.Stdout,
 		SSL:    conf.SSL,
 	})