summaryrefslogtreecommitdiff
path: root/internal/lex
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-04-08 19:25:36 +0200
committerMartin Fischer <martin@push-f.com>2025-04-14 07:04:45 +0200
commite29d27533725819ec3f6d05a27048d3d2627b53e (patch)
tree5afba50408b25179edb4ea6445acfe1d3e051488 /internal/lex
parent96236c9d80cea2d6ba83591a7d08a8cc096fd8d3 (diff)
refactor: port fetchers to Go
* Austria: upgraded to RIS API v2.6 because v2.5 has been turned off
Diffstat (limited to 'internal/lex')
-rw-r--r--internal/lex/law.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/lex/law.go b/internal/lex/law.go
new file mode 100644
index 0000000..1f56085
--- /dev/null
+++ b/internal/lex/law.go
@@ -0,0 +1,8 @@
+package lex
+
+type Law struct {
+ URL string `json:"url"`
+ Title string `json:"title"`
+ Abbr string `json:"abbr,omitempty"`
+ Redir string `json:"redir,omitempty"`
+}