package
0.0.0-20191213230751-ef2d6fb2fe25
Repository: https://github.com/goestoeleven/golang-web-dev.git
Documentation: pkg.go.dev

# README

Using MySQL

  1. Install MySQL
  1. We will need a MySQL driver
  1. Include the driver in your imports
  1. Determine the Data Source Name
  1. Open a connection
  • db, err := sql.Open("mysql", "user:password@tcp(localhost:5555)/dbname?charset=utf8")

package sql