You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ After generating or editing code, you must always refactor your changes using we
42
42
43
43
## High-Level Architecture
44
44
-**Frontend:** SvelteKit 2 (Svelte 5) with Vite, Tailwind CSS v4, and shadcn-svelte; loaders build absolute API URLs using `PUBLIC_API_URL`.
45
-
-**Backend:** Go 1.25 Fiber API using Zap logging, GORM (MySQL driver) targeting MariaDB, shared middleware for compression, CORS, ETag, and request limiting, serving JSON under `/api/*`.
45
+
-**Backend:** Go 1.26 Fiber API using Zap logging, GORM (MySQL driver) targeting MariaDB, shared middleware for compression, CORS, ETag, and request limiting, serving JSON under `/api/*`.
46
46
-**Workers:** Goroutine workers managed by `backend-go/workers/manager.go`; enablement and intervals come from env vars and statuses persist in the `workers` table.
47
47
-**Fansly Integration:**`backend-go/fansly/client.go` centralizes authentication, retries, and global rate limiting for all Fansly requests.
48
48
-**Schema Source of Truth:**`backend-go/models` combined with `backend-go/database/migrate.go` drives AutoMigrate; never mutate the database outside this layer.
@@ -74,7 +74,7 @@ After generating or editing code, you must always refactor your changes using we
74
74
-`frontend/.env.example`
75
75
76
76
### backend-go
77
-
- Language: Go (1.25+)
77
+
- Language: Go (1.26+)
78
78
- Framework/runtime: Fiber v2 with Zap logging
79
79
- Package manager: Go modules
80
80
- Important Packages: `github.com/gofiber/fiber/v2`, `gorm.io/gorm`, `gorm.io/driver/mysql`, `go.uber.org/zap`, `github.com/joho/godotenv`
0 commit comments