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
Update build tooling from starter template and fix linter issues (#964)
* Update build tooling from starter template and fix linter issues
- Update Go version from 1.24.6 to 1.24.11
- Update golangci-lint to v2.8.0 with new config format
- Update gotestsum to v1.13.0
- Update Node.js version from 16.13.1 to 20.11
- Add manifest-check target to Makefile
- Use Go 1.24 features (strings.SplitSeq, slices.Contains)
- Replace interface{} with any throughout codebase
- Replace custom contains functions with slices.Contains
- Convert if-else chains to tagged switches
- Simplify embedded field selectors (c.Context.Ctx → c.Ctx)
- Use strings.Builder for efficient string concatenation
- Apply De Morgan's law simplifications
- Fix directory permissions (0755 → 0750)
- Add license headers to build files
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Restore omitempty on DefaultRepo field
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Use omitzero instead of omitempty for DefaultRepo struct field
omitempty has no effect on non-pointer struct fields in JSON encoding.
Go 1.24's omitzero correctly omits the field when the struct is its
zero value.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Update Go to 1.25, golangci-lint to 2.9, and remove golang-version from CI
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Use WaitGroup.Go to simplify goroutine creation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
returnerrors.New("JSON output for file logs are disabled. Please enable LogSettings.FileJson via the configuration in Mattermost.") //nolint:revive,stylecheck
184
+
returnerrors.New("JSON output for file logs is disabled, please enable LogSettings.FileJson via the configuration in Mattermost")
0 commit comments