Go中的SOCK_SEQPACKET连接类型?

Right now I have this, but it panics when trying to connect

"panic: runtime error: invalid memory address or nil pointer dereference"

/**
 * Connect to a unix domain socket
 * @param {string} name Name of socket to connect to
 * e.g. /0Whatever/0
 */
func Connect(name string)(conn net.Conn) {
  fmt.Println("Connecting to " + name)
  conn, _ = net.ListenUnixgram(name, nil)
  defer os.Remove(name)
  return conn
}