fraenky8 / tables-to-go

convert your database tables to structs easily
MIT License
233 stars 42 forks source link

ISSUE-22: Add support for sqlite #23

Closed fraenky8 closed 4 years ago

fraenky8 commented 5 years ago

In order to fix #22 we need to introduce a new driver (https://github.com/mattn/go-sqlite3). It states in its compilation section that it requires CGO_ENABLED=1 and a working gcc compiler on the target system. This restricts usage of this tool and forces users to provide the correct environment to build it. Therefore I decided to exclude SQLite3 by default and provide a handy way to enable user to build it via a Makefile. The assumption is that user who have the neccessary environment set up are also able to execute a Makefile.

Furthermore with a growing number of dependencies and with the latest go1.13 release I want to introduce vendoring and versioning via go modules.

This said, this PR does hereby the following: