summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..54ddf3c
--- /dev/null
+++ b/main.go
@@ -0,0 +1,18 @@
+package main
+
+import "fmt"
+import "github.com/go-irc/irc"
+import "github.com/namsral/flag"
+
+func main() {
+ var pass string
+ flag.String(pass)
+ config := irc.ClientConfig {
+ Nick: "wat",
+ Pass: pass,
+ User: "wat",
+ Name: "wat",
+ Handler: testHandler
+ }
+ fmt.Println("Hello world")
+}