refactor parser

This commit is contained in:
2021-10-20 16:21:26 +03:00
parent 8f56877d69
commit d2f98102ef
3 changed files with 40 additions and 75 deletions
+1
View File
@@ -57,6 +57,7 @@ func NewClient(host string, port string) *Client {
}
func (c Client) handleCommand(message IRCMessage) {
fmt.Printf("Tags: %s\n", message.Tags)
fmt.Printf("Source: %s\n", message.Source)
fmt.Printf("Command: %s\n", message.Command)
fmt.Printf("Params: %s\n", message.Parameters)