Skip to content

Instantly share code, notes, and snippets.

View latdev's full-sized avatar

Eugene latdev

  • Lat Dev
  • LVA, Riga
View GitHub Profile
@vinzenz
vinzenz / dial-mysql-via-ssh.go
Created November 7, 2016 10:27
Using MySQL / MariaDB via SSH in Golang
package main
import (
"database/sql"
"fmt"
"net"
"os"
"github.com/go-sql-driver/mysql"
"golang.org/x/crypto/ssh"