Merge pull request #126 from khareyash05/codeowner #121
Annotations
8 errors and 11 warnings
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L42
Error return value of `res.Body.Close` is not checked (errcheck)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L78
Error return value of `res.Body.Close` is not checked (errcheck)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L114
Error return value of `res.Body.Close` is not checked (errcheck)
|
golangci-lint:
http-pokeapi/response.go#L31
Error return value of `w.Write` is not checked (errcheck)
|
golangci-lint:
http-pokeapi/internal/models/location_models.go#L1
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
http-pokeapi/internal/models/pokemon_models.go#L1
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L1
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L89
receiver-naming: receiver name c should be consistent with previous receiver name client for Client (revive)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L11
var-naming: don't use underscores in Go names; const base_url should be baseURL (revive)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L18
var-naming: don't use underscores in Go names; var end_url should be endURL (revive)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L19
var-naming: don't use underscores in Go names; var full_url should be fullURL (revive)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L54
var-naming: don't use underscores in Go names; var end_url should be endURL (revive)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L55
var-naming: don't use underscores in Go names; var full_url should be fullURL (revive)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L90
var-naming: don't use underscores in Go names; var end_url should be endURL (revive)
|
golangci-lint:
http-pokeapi/internal/pokeapi/poke_req.go#L91
var-naming: don't use underscores in Go names; var full_url should be fullURL (revive)
|
golangci-lint:
http-pokeapi/response.go#L21
var-naming: func respondWithJson should be respondWithJSON (revive)
|
golangci-lint:
http-pokeapi/location.go#L9
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading