Help us shape the future of Go! Take the 2026 Go Developer Survey

sprocbind

command module
v0.0.0-...-070163c Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MIT Imports: 12 Imported by: 0

README

sprocbind

Generates go bindings to Microsoft SQL Server (mssql) stored procedures, including Table Valued Parameters (TVP).

It is intended to be used with https://github.com/denisenkom/go-mssqldb once https://github.com/denisenkom/go-mssqldb/pull/413 is merged in.

Until that PR is accepted, you can use https://github.com/elliots/go-mssqldb/tree/tvp

WIP, but in use.

Usage

go get -a github.com/identitii/sprocbind

sprocbind --input my-file-with-sprocs.sql --output sprocs.go --go-package db

TODO

  • A lot of cleanup.

Thanks

The authors of the tsql antl4 grammar that this package is built on:

(TODO: add link to original source of tsql.g4)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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