From 3a8df77e46a0a56afcc7af34e1b482c20b64f8f9 Mon Sep 17 00:00:00 2001 From: William Perron Date: Mon, 29 Aug 2022 23:14:00 +0000 Subject: [PATCH] project scaffold --- .gitignore | 4 ++++ cmd/themis-server/main.go | 5 +++++ go.mod | 3 +++ migrations/init.sql | 2 ++ 4 files changed, 14 insertions(+) create mode 100644 cmd/themis-server/main.go create mode 100644 go.mod create mode 100644 migrations/init.sql diff --git a/.gitignore b/.gitignore index 66fd13c..f719c91 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.dll *.so *.dylib +bin/ # Test binary, built with `go test -c` *.test @@ -13,3 +14,6 @@ # Dependency directories (remove the comment below to include it) # vendor/ + +# sqlite databases files +*.db diff --git a/cmd/themis-server/main.go b/cmd/themis-server/main.go new file mode 100644 index 0000000..5a923cb --- /dev/null +++ b/cmd/themis-server/main.go @@ -0,0 +1,5 @@ +package main + +func main() { + panic("not implemented") +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..25c6d19 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module go.wperron.io/themis + +go 1.19 diff --git a/migrations/init.sql b/migrations/init.sql new file mode 100644 index 0000000..95fac23 --- /dev/null +++ b/migrations/init.sql @@ -0,0 +1,2 @@ +.mode csv +.import ./data/eu4-provinces.csv provinces \ No newline at end of file