Package (v1.2.3)

Package mssql provides a Cloud SQL SQL Server driver that works with the database/sql package.


func RegisterDriver

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

RegisterDriver registers a SQL Server 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.