Skip to content

issues Search Results · repo:kkHAIKE/contextcheck language:Go

Filter by

12 results
 (61 ms)

12 results

inkkHAIKE/contextcheck (press backspace or delete to remove)

In the following function func (d *storage) WithTransaction( ctx context.Context, fn func(context.Context) error, ) error { sess, err := d.client.StartSession() if err != nil { return err } defer ...
  • blainenelson
  • 1
  • Opened 
    on Apr 2, 2024
  • #24

Please see this issue: https://github.com/golangci/golangci-lint/issues/4550 We have concluded it s an issue in contextcheck but I do not know specifically what is going on. There is example code and ...
  • mrz1836
  • 2
  • Opened 
    on Mar 20, 2024
  • #21

The following fails when I plug it into contextcheck’s test suite: package customcontext import ( context time ) var _ context.Context = MyContext{} func f1(ctx context.Context) { passesContextTODO() ...
  • FGasper
  • 4
  • Opened 
    on Sep 11, 2023
  • #20

Hi 🙂 Please, bump golang.org/x/tools to v0.7.0 (as minimum) and make new tag in your repo. It s important to be consistent with new Go 1.20 golangci-lint. Related to https://github.com/golangci/golangci-lint/issues/3086 ...
  • Antonboom
  • 1
  • Opened 
    on Mar 12, 2023
  • #11

Hi, I don t understand why this code should be flagged. Any explanation or realistic reason would be appreciated for going deep to raise the flag. Thanks // github.com/go-chi/chi/v5 // parameter is ...
  • bentcoder
  • 3
  • Opened 
    on Jan 28, 2023
  • #10

I have some false positives on the code, which is not in my control. Can you stop analysis, if the error occurs in 3rd party libraries? Example import ( github.com/lestrrat-go/jwx/jwt ... ) ...
  • arxeiss
  • 9
  • Opened 
    on Sep 30, 2022
  • #9

After commit a2c3e11b3e140252fe2ff774b9e3435e29361690, v1.0.8, I m getting reports that I think are false positives. There s an underlying function func WriteProblem(w http.ResponseWriter, r *http.Request, ...
  • scop
  • 7
  • Opened 
    on Sep 2, 2022
  • #7

Hi, we do use a lot the aws-sdk-go lib and all their functions use an alias of context: https://github.com/aws/aws-sdk-go/blob/main/aws/context_1_9.go#L12 so the contextcheck fails on the code that uses ...
  • SVilgelm
  • 4
  • Opened 
    on Aug 26, 2022
  • #6

Go is frequently used for servers. And as such http.Handler is used often. Given the following code; package main import ( context net/http ) func foo(ctx context.Context, a, b int) {} func myHandler(w ...
enhancement
  • komuw
  • 2
  • Opened 
    on Mar 29, 2022
  • #5

Currently, SSA is not working with generics. So your linter produces a panic when it is used with generics. There is an issue open about that in the Go repository: https://github.com/golang/go/issues/48525 ...
  • ldez
  • 8
  • Opened 
    on Mar 24, 2022
  • #4
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub