gitea/routers
logikonline 4d1d81e8b3
Some checks failed
Build and Release / Build Binaries (arm64, linux) (push) Blocked by required conditions
Build and Release / Build Docker Image (push) Blocked by required conditions
Build and Release / Create Release (push) Blocked by required conditions
Build and Release / Lint and Test (push) Successful in 9m45s
Build and Release / Build Binaries (amd64, linux) (push) Has been cancelled
Build and Release / Build Binaries (arm64, darwin) (push) Has been cancelled
Build and Release / Build Binaries (amd64, windows) (push) Has been cancelled
Build and Release / Build Binaries (amd64, darwin) (push) Has been cancelled
fix: resolve all remaining golangci-lint errors
- Replace fmt.Errorf with errors.New where no formatting needed
- Use slices.Sort instead of sort.Slice
- Use slices.Contains instead of manual loops
- Use strings.Cut/bytes.Cut instead of Index functions
- Use min() builtin instead of if statements
- Use range over int for iteration
- Replace interface{} with any
- Use strconv.FormatInt instead of fmt.Sprintf
- Fix gofumpt formatting (extra rules)
- Add SDK exclusions to .golangci.yml for standalone SDK package
- Check errors on ctx.Resp.Write calls
- Remove unused struct fields
- Remove unused function parameters

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 18:00:44 -05:00
..
api fix: resolve all remaining golangci-lint errors 2026-01-09 18:00:44 -05:00
common improve the compare page (#36261) 2026-01-01 10:32:19 -08:00
install Fix oauth2 session gob register (#36017) 2025-11-26 23:25:34 +08:00
private Fix the bug when ssh clone with redirect user or repository (#36039) 2025-12-04 19:17:49 +00:00
utils Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
web fix: resolve all remaining golangci-lint errors 2026-01-09 18:00:44 -05:00
init.go feat(api): add v2 API with AI-friendly features (Phase 2) 2026-01-09 11:41:10 -05:00