commit 65d436e99b36be688fba6cf9d4c146411fa9c67b Author: MrMelon54 Date: Sun May 12 15:11:21 2024 +0100 First commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..65d9549 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea/ +cardcal-auth-tester diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..56366ae --- /dev/null +++ b/go.mod @@ -0,0 +1,27 @@ +module cardcaldav + +go 1.22 + +require ( + github.com/charmbracelet/log v0.4.0 + github.com/go-sql-driver/mysql v1.8.1 + github.com/rs/zerolog v1.32.0 + golang.org/x/crypto v0.23.0 + golang.org/x/term v0.20.0 +) + +require ( + filippo.io/edwards25519 v1.1.0 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect + github.com/charmbracelet/lipgloss v0.10.0 // indirect + github.com/go-logfmt/logfmt v0.6.0 // indirect + github.com/lucasb-eyer/go-colorful v1.2.0 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-runewidth v0.0.15 // indirect + github.com/muesli/reflow v0.3.0 // indirect + github.com/muesli/termenv v0.15.2 // indirect + github.com/rivo/uniseg v0.4.7 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/sys v0.20.0 // indirect +) diff --git a/sqlc.yaml b/sqlc.yaml new file mode 100644 index 0000000..b96d5c0 --- /dev/null +++ b/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: mysql + queries: database/queries + schema: database/models + gen: + go: + package: "database" + out: "database" + emit_json_tags: true