diff options
Diffstat (limited to 'api/cards.go')
| -rw-r--r-- | api/cards.go | 12 |
1 files changed, 12 insertions, 0 deletions
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") +} |
