Skip to content

refactor(generator): generators use context.Context instead of stopflag #565

refactor(generator): generators use context.Context instead of stopflag

refactor(generator): generators use context.Context instead of stopflag #565

Triggered via pull request November 28, 2024 19:32
Status Failure
Total duration 31s
Artifacts

go.yml

on: pull_request
Lint Test and Build
23s
Lint Test and Build
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Lint Test and Build: pkg/generators/generator_test.go#L49
cannot use cfg (variable of type *generators.Config) as generators.Config value in argument to generators.NewGenerator
Lint Test and Build: pkg/generators/generator_test.go#L50
cannot use stop.NewFlag("main_test") (value of type *stop.Flag) as context.Context value in argument to generator.Start: *stop.Flag does not implement context.Context (missing method Deadline) (typecheck)
Lint Test and Build
Process completed with exit code 2.