The single difference between the 2 implementation should be the selected SQL driver to use.
Selecting the SQL driver could be done either:
- at build time, using build tags with
go build -tag
- at run time, using a command-line flag (this requires to embed both drivers)