Anton Telyshev

Results 131 comments of Anton Telyshev

`gocritic version` prints nothing :( `gocritic check ./...` runs without errors ;(

@cristaloleg, please, look at the first message, `go env` at the bottom.

Oh... It was really about the env and arch. I have written in more detail in the related issue. Thanks!

Ok, what do you think about more realistic example? ```golang func main() { // ... service := app.New(logg, storage) server := internalhttp.NewServer(service) ctx, cancel := context.WithCancel(context.Background()) defer cancel() go func()...

@quasilyte, thanks! I expected you to write an example like this :) It just looks like a workaround due to the linter, not like applying some kind of best practice....

+1 The following logging levels are standardized in my company: - CRITICAL - ERROR - WARNING - INFO - DEBUG - TRACE For the case described by the topic starter,...

I faced the same problem. Simple example ```bash ▶ tree . └── model └── user.go ``` ```golang // model/user.go package model //go:generate easyjson --disallow_unknown_fields -output_filename=user_easyjson_gen.go type User struct { ID...

FYI: [mockgen](https://github.com/golang/mock) resolve this problem through `--build_flags=-mod=mod`.

@GoWebProd What's about a real issue?