From ff61bc9ea10dd77ddc19b1955bfa119df598b846 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Thu, 4 Nov 2010 00:02:26 +0000 Subject: [PATCH] Update README with slight changes. --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ef8050..ecf9029 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,12 @@ Synopsis: import "irc" func main() { c := irc.New("nick", "ident", "real name") + // Optionally, turn on debugging + c.Debug = true + // Optionally, enable SSL + c.SSL = true // add handlers to do things here! - if err := c.Connect("irc.freenode.net", ""); err != nil { + if err := c.Connect("irc.freenode.net"); err != nil { fmt.Printf("Connection error: %s\n", err.String()) } for { @@ -58,5 +62,5 @@ indebted to Matt Gruen for his work on the re-organisation and channel-based communication structure of `*Conn.send()` and `*Conn.recv()`. I'm sure things could be more asynchronous, still. -This code is (c) 2009 Alex Bramley, and released under the same licence terms +This code is (c) 2009-10 Alex Bramley, and released under the same licence terms as Go itself.