Oleksandr Redko

Results 44 issues of Oleksandr Redko

Organize imports to groups According to https://github.com/golang/go/wiki/CodeReviewComments#imports.

# Description Removes ignored __pycache__ folder. These binaries autogenerated by Python itself. # Type of change - [x] Internal code change. # Checklist: - [x] My code follows the style...

Checklist: - [x] I have read [freeCodeCamp's contribution guidelines](https://contribute.freecodecamp.org). - [x] My pull request has a descriptive title (not a vague title like `Update index.md`) - [x] My pull request...

scope: curriculum

**What this PR does / why we need it**: This PR fixes typos and grammar issues in `Go` comments. No production code is changed, so it's safe to merge. **If...

size/M

## Summary This PR changes generated header comment to conform Go standard's regexp: `^// Code generated .* DO NOT EDIT\.$`. ## Changes - Edit `headerTemplate` in `_codegen/main.go`. - Run `go...

## Summary Fix deprecation comments for `http`, so the package will be automatically marked as "Deprecated" on https://pkg.go.dev/github.com/stretchr/testify/http. ## Changes - Update comments in the `http` package. ## Motivation [The...

It'd be great if the code could be refactored to use [go/analysis](https://pkg.go.dev/golang.org/x/tools/go/analysis) so that unparam can be better integrated with golangci-lint. See [golangci-lint.run/contributing/new-linters](https://golangci-lint.run/contributing/new-linters/) and https://github.com/golangci/golangci-lint/blob/d23c35470b899af8de151db9f960a60c92bcf08a/pkg/golinters/unparam.go#L23

The PR enables [`unparam`](https://golangci-lint.run/usage/linters/#unparam) linter and addresses lint issues. The linter has identified a significant amount of unused code that can be easily deleted without affecting functionality. The whole log...

This PR refactors code to remove duplicated values accessing from extension maps.

This PR fixes `TestRefPathToGoType` which failed when test [shuffling](https://pkg.go.dev/cmd/go/internal/test) enabled: ``` -shuffle off,on,N Randomize the execution order of tests and benchmarks. It is off by default. If -shuffle is set...