2
0

fix(lint): resolve all formatting and nolint issues
Some checks failed
Build and Release / Create Release (push) Successful in 0s
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 3m5s
Build and Release / Unit Tests (push) Successful in 5m22s
Build and Release / Lint (push) Successful in 5m27s
Build and Release / Build Binaries (amd64, linux, linux-latest) (push) Successful in 2m55s
Build and Release / Build Binaries (amd64, windows, windows-latest) (push) Successful in 9h5m17s
Build and Release / Build Binaries (arm64, darwin, macos) (push) Successful in 11m24s
Build and Release / Build Binaries (amd64, darwin, macos) (push) Successful in 11m48s
Build and Release / Build Binary (linux/arm64) (push) Failing after 2m37s

- Fix gofumpt extra-rules: combine repeated types in function signature
- Fix gofmt formatting in setting/ai.go and web.go
- Add explanations to nolint:dupl directives as required by nolintlint

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-19 19:01:48 -05:00
parent f0709e0e67
commit d5bda0495a
2 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ func IsEnabled() bool {
}
// doRequest performs an HTTP request to the AI service
func (c *Client) doRequest(ctx context.Context, method, endpoint string, body any, result any) error {
func (c *Client) doRequest(ctx context.Context, method, endpoint string, body, result any) error {
var reqBody io.Reader
if body != nil {
jsonBody, err := json.Marshal(body)