The Message and Prefix types provide translation to and from IRC message format.
// Parse the IRC-encoded data and stores the result in a new struct.
message := ircmsg.ParseMessage(raw)
// Returns the IRC encoding of the message.
raw = message.String()
We are at v0.0.X, the API is subject to change