Skip to content

nil-context

Default severity: error

A context must not be nil. Use context.TODO() when the appropriate parent is not known or context.Background() for an explicit root.

load(nil) // reported when the first parameter is context.Context
load(context.TODO())