about summary refs log tree commit diff
path: root/nix/templates/goapp/backend/go.mod
diff options
context:
space:
mode:
authorEmile <git@emile.space>2025-02-12 22:05:22 +0100
committerEmile <git@emile.space>2025-02-12 22:05:22 +0100
commit7152205c80f059d3649e1830fb4dfc46d1fc158f (patch)
treeb0d9a9aea760fabd61ee5cb06814d45cac5bb629 /nix/templates/goapp/backend/go.mod
parent4d08790c43b2d0720ef43b657a651a7c541d30d2 (diff)
template: the goapp docker package should now (in theory) build
It's quite a weird way to pull out the packge name from the attribute
set of defined packages, yet it kind of works.

I can't test it, as docker doesn't want to run Mach-O binaries, but
kicking this into hydra should result in some nice builds.
Diffstat (limited to 'nix/templates/goapp/backend/go.mod')
-rw-r--r--nix/templates/goapp/backend/go.mod22
1 files changed, 21 insertions, 1 deletions
diff --git a/nix/templates/goapp/backend/go.mod b/nix/templates/goapp/backend/go.mod
index 41401c9..40a7d7f 100644
--- a/nix/templates/goapp/backend/go.mod
+++ b/nix/templates/goapp/backend/go.mod
@@ -2,4 +2,24 @@ module github.com/hanemile/goapp/backend
 
 go 1.23.5
 
-require github.com/gorilla/mux v1.8.1
+require (
+	github.com/gorilla/handlers v1.5.2
+	github.com/gorilla/mux v1.8.1
+	github.com/gorilla/securecookie v1.1.2
+	github.com/gorilla/sessions v1.4.0
+	modernc.org/sqlite v1.34.5
+)
+
+require (
+	github.com/dustin/go-humanize v1.0.1 // indirect
+	github.com/felixge/httpsnoop v1.0.4 // indirect
+	github.com/google/uuid v1.6.0 // indirect
+	github.com/mattn/go-isatty v0.0.20 // indirect
+	github.com/mattn/go-sqlite3 v1.14.24 // indirect
+	github.com/ncruces/go-strftime v0.1.9 // indirect
+	github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
+	golang.org/x/sys v0.22.0 // indirect
+	modernc.org/libc v1.55.3 // indirect
+	modernc.org/mathutil v1.6.0 // indirect
+	modernc.org/memory v1.8.0 // indirect
+)