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 denisenkom/go-mssqldb#413 is merged in.
Until that PR is accepted, you can use https://github.com/elliots/go-mssqldb/tree/tvp
WIP, but in use.
go get -a github.com/identitii/sprocbind
sprocbind --input my-file-with-sprocs.sql --output sprocs.go --go-package db
- A lot of cleanup.
The authors of the tsql antl4 grammar that this package is built on:
- Ivan Kochurkin ([email protected]), Positive Technologies.
- Scott Ure ([email protected]).
- Rui Zhang ([email protected]).
- Marcus Henriksson ([email protected]).
(TODO: add link to original source of tsql.g4)