build/sqlc: implement simple sqlc/bindata rules
This is a first pass at implementing rules to generate sqlc stubs from
.sql files and embed relevant migration files into bindata.
This is not yet used. The Go API is subject to change - especially the
way migrations are laid out in the generated package will probably
change.
Change-Id: I0873031603957a176ad4664c3b10768b791e0dd5
Reviewed-on: https://review.monogon.dev/c/monogon/+/884
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/go.mod b/go.mod
index 98ff875..3a839f8 100644
--- a/go.mod
+++ b/go.mod
@@ -82,6 +82,7 @@
github.com/google/uuid v1.3.0
github.com/insomniacslk/dhcp v0.0.0-20220119180841-3c283ff8b7dd
github.com/joho/godotenv v1.4.0
+ github.com/kevinburke/go-bindata v3.23.0+incompatible
github.com/kyleconroy/sqlc v1.15.0
github.com/mattn/go-shellwords v1.0.12
github.com/mdlayher/raw v0.1.0