From 007e2de369f9fc26da3237646de14f2af5052ee8 Mon Sep 17 00:00:00 2001 From: ewy Date: Fri, 22 May 2026 16:54:49 +0200 Subject: initial commit --- api/cards.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 api/cards.go (limited to 'api/cards.go') diff --git a/api/cards.go b/api/cards.go new file mode 100644 index 0000000..79aa94f --- /dev/null +++ b/api/cards.go @@ -0,0 +1,12 @@ +//go:build api + +package api + +import ( + "sts2stats/stats" + "sts2stats/storage" +) + +func CardChoices() (any, error) { + return storage.Entities[*stats.CardChoice]("SELECT * FROM CardChoice") +} -- cgit v1.3.1