From 51cb3c437856d0e2aab6aeb46e2f471a5eea4713 Mon Sep 17 00:00:00 2001 From: Antonio Pagano Date: Sun, 22 Sep 2024 11:04:16 -0500 Subject: [PATCH] trying cgo-less driver --- Dockerfile | 1 - go.mod | 8 +++----- go.sum | 2 ++ 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 28674a7..0b2b77f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ FROM golang:1.22-alpine AS builder -RUN apk --update add build-base WORKDIR /src/app ADD go.mod . diff --git a/go.mod b/go.mod index 2b80d92..4300b26 100644 --- a/go.mod +++ b/go.mod @@ -5,20 +5,18 @@ go 1.22.4 require ( github.com/gomarkdown/markdown v0.0.0-20231222211730-1d6d20845b47 github.com/jmoiron/sqlx v1.3.5 - github.com/leapkit/leapkit/core v0.0.36 + github.com/leapkit/leapkit/core v0.0.37-0.20240922160042-1e752981c16d github.com/lithammer/shortuuid/v4 v4.0.0 modernc.org/sqlite v1.33.1 ) require ( + github.com/dustin/go-humanize v1.0.1 // indirect github.com/gobuffalo/flect v1.0.2 // indirect github.com/gobuffalo/plush/v5 v5.0.1 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/gorilla/securecookie v1.1.2 // indirect github.com/gorilla/sessions v1.3.0 // indirect - - // sqlite dependencies - github.com/dustin/go-humanize v1.0.1 // indirect - github.com/google/uuid v1.6.0 // indirect github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-sqlite3 v1.14.22 // indirect diff --git a/go.sum b/go.sum index bf35183..a775fc2 100644 --- a/go.sum +++ b/go.sum @@ -32,6 +32,8 @@ github.com/jmoiron/sqlx v1.3.5 h1:vFFPA71p1o5gAeqtEAwLU4dnX2napprKtHr7PYIcN3g= github.com/jmoiron/sqlx v1.3.5/go.mod h1:nRVWtLre0KfCLJvgxzCsLVMogSvQ1zNJtpYr2Ccp0mQ= github.com/leapkit/leapkit/core v0.0.36 h1:z+ImNOB/AIS8ous43/qeACzZhM8x1plquyiDyW43fqQ= github.com/leapkit/leapkit/core v0.0.36/go.mod h1:9yNcjlnZ30jWT+B+9qUWPF/OXPyN8u13nHFDS9N11aM= +github.com/leapkit/leapkit/core v0.0.37-0.20240922160042-1e752981c16d h1:mH6FpEc3nWp03Uj0Ok37gcLSVPTlJ7AbXlCqSqib32M= +github.com/leapkit/leapkit/core v0.0.37-0.20240922160042-1e752981c16d/go.mod h1:ojA4xck/gLqIP5mTJpM8ss6sQQYiMPSUUWEcHlZyxHU= github.com/lib/pq v1.2.0 h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lithammer/shortuuid/v4 v4.0.0 h1:QRbbVkfgNippHOS8PXDkti4NaWeyYfcBTHtw7k08o4c=