Please prefix errors. Something like this:

~~~go
return errors.New("irc: empty server")
~~~

And please use descriptive error messages. Or you could just introduce your own error type and provide some more contextual information. Just like the [pq](https://github.com/lib/pq/blob/master/error.go) did.