aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-03-25 18:24:00 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-20 15:57:09 +0200
commit892ceb1b567153891e165cdf9ca66fec8d76c6e7 (patch)
tree6ecc9d997c07ba35eb8147c5622310aa827203b7
parent81d57c0a8466ec55ed6cb04e63528b46209e3768 (diff)
downloadmuhqs-game-892ceb1b567153891e165cdf9ca66fec8d76c6e7.tar.gz
muhqs-game-892ceb1b567153891e165cdf9ca66fec8d76c6e7.zip
make CardPaths a value receiver
-rw-r--r--go/game/set.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/set.go b/go/game/set.go
index aca5b7f5..23cc7084 100644
--- a/go/game/set.go
+++ b/go/game/set.go
@@ -82,7 +82,7 @@ var SetNames = map[string]SetIdentifier{
"exp1": Exp1,
}
-func (set *SetIdentifier) CardPaths() []string {
+func (set SetIdentifier) CardPaths() []string {
url := PROTOCOL + path.Join(BASE_URL, CARD_DATA_URL, set.String())
log.Printf("loading %s\n", url)
resp, err := http.Get(url)