From 3a2743cada26fca779bbac3a4b4743cb4fe378e3 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Tue, 19 Dec 2023 20:13:32 -0800 Subject: [PATCH] added sqlx to project --- go.mod | 2 ++ go.sum | 5 +++++ recount-server.go | 10 ++++++++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 go.sum diff --git a/go.mod b/go.mod index d5938eb..53025db 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,5 @@ module nickiel.net/recount_server go 1.21.5 + +require github.com/jmoiron/sqlx v1.3.5 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..bc1991f --- /dev/null +++ b/go.sum @@ -0,0 +1,5 @@ +github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/jmoiron/sqlx v1.3.5 h1:vFFPA71p1o5gAeqtEAwLU4dnX2napprKtHr7PYIcN3g= +github.com/jmoiron/sqlx v1.3.5/go.mod h1:nRVWtLre0KfCLJvgxzCsLVMogSvQ1zNJtpYr2Ccp0mQ= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/mattn/go-sqlite3 v1.14.6/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= diff --git a/recount-server.go b/recount-server.go index 8b54565..6dce2c7 100644 --- a/recount-server.go +++ b/recount-server.go @@ -1,7 +1,13 @@ -package recount_server +package main -import "fmt" +import ( + "fmt" + "log" +) func main() { + log.SetPrefix("RecountServer: ") + log.SetFlags(0) + fmt.Println("Hello World") }