Categorygithub.com/go-gdbc/gdbc-mssql
modulepackage
1.0.0
Repository: https://github.com/go-gdbc/gdbc-mssql.git
Documentation: pkg.go.dev

# README

gdbc-mssql

GDBC Mssql Driver - It is based on github.com/denisenkom/go-mssqldb

Go Report Card codecov Build Status

Usage

dataSource, err := gdbc.GetDataSource("gdbc:sqlserver://username:password@localhost:3000?param1=value&param2=value")
if err != nil {
    panic(err)
}

var connection *sql.DB
connection, err = dataSource.GetConnection()
if err != nil {
    panic(err)
}

MsSQL GDBC URL takes one of the following forms:

gdbc:sqlserver://user@host/instanceName?arg1=value1
gdbc:sqlserver://user:password@host/instanceName?arg1=value1
gdbc:sqlserver://user@host:port?arg1=value1
gdbc:sqlserver://user:password@host:port?arg1=value1

Checkout github.com/denisenkom/go-mssqldb for arguments details.

# Structs

No description provided by the author