Package cloud.google.com/go/cloudsqlconn/mysql/mysql (v0.1.0)

Package mysql provides a Cloud SQL MySQL driver that uses go-sql-driver/mysql and works with database/sql

Functions

func RegisterDriver

func RegisterDriver(name string, opts ...cloudsqlconn.Option) (func() error, error)

RegisterDriver registers a MySQL driver that uses the cloudsqlconn.Dialer configured with the provided options. The choice of name is entirely up to the caller and may be used to distinguish between multiple registrations of differently configured Dialers.