func (c *SocketConnection) Send(cmd string) error {
	if strings.Contains(cmd, "\r\n") {
		return fmt.Errorf(EInvalidCommandProvided, cmd)
	}
	c.mtx.Lock()
	defer c.mtx.Unlock()
	_, err := io.WriteString(c, cmd)
	if err != nil {
		return err
	}
	_, err = io.WriteString(c, "\r\n\r\n")
	if err != nil {
		return err
	}
	return nil
}
Send - Will send raw message to open net connection
package goesl
import (
	"bufio"
	"bytes"
	"fmt"
	"io"
	"net"
	"strconv"
	"strings"
	"sync"
	"time"
)
type SocketConnection struct {
	net.Conn
	err chan error
	m   chan *Message
	mtx sync.Mutex
}
func (c *SocketConnection) Dial(network string, addr string, timeout time.Duration) (net.Conn, error) {
	return net.DialTimeout(network, addr, timeout)
}