mirror of
https://github.com/ahmetb/kubectx.git
synced 2026-03-16 19:02:14 +00:00
- Replace deprecated io/ioutil with os.ReadFile, os.WriteFile, etc.
- Replace interface{} with any
- Replace github.com/pkg/errors with stdlib fmt.Errorf %w wrapping
- Use errors.As() instead of direct type assertions on errors
- Use strings.Cut() for delimiter parsing
- Use slices.Contains() for linear searches
- Use t.Setenv() and t.TempDir() in tests
- Update CI workflows to Go 1.25
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>