feat: init client

This commit is contained in:
2025-08-12 18:38:22 +02:00
commit a145da0d2d
24 changed files with 713 additions and 0 deletions

43
.golangci.yml Normal file
View File

@@ -0,0 +1,43 @@
version: "2"
linters:
default: all
disable:
- wsl # Disable the default wsl linter due to deprecated status
- exhaustruct
- gochecknoglobals
- godox
- gomoddirectives
- ireturn
- testpackage
- wrapcheck
enable:
- wsl_v5
settings:
depguard:
rules:
main:
allow:
- tcgdex-golang
list-mode: lax
wsl_v5:
allow-first-in-block: true
allow-whole-block: false
branch-max-lines: 2
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gci
- gofmt
- gofumpt
- goimports
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$