Skip to content

Remove context.TODO() #3874

@AkihiroSuda

Description

@AkihiroSuda

https://github.com/search?q=repo%3Alima-vm%2Flima%20context.TODO&type=code

A context.Context should be passed as a function argument

e.g.,

func Foo(){
  ctx := context.TODO()
  ...
}

func Foo(ctx context.Context) {
  ...
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions