mssql

package module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mssql links the SQL Server driver into a Nucleus application.

Import it for its side effect, once, anywhere in the program:

import _ "github.com/jcsvwinston/nucleus/drivers/mssql"

It registers microsoft/go-mssqldb under "sqlserver", which is what pkg/db resolves a sqlserver:// or mssql:// URL to.

This replaces the `-tags mssql` build tag that used to gate the driver. A build tag is invisible: nothing in the source says it exists, and a build that forgets it fails at run time with "unknown driver". An import is in the file, and a build that lacks it fails while compiling.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL