cancelnil

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelNil

type CancelNil struct{}

func New

func New() *CancelNil

New returns a new CancelNil virus. It changes calls to context.CancelCauseFunc to pass nil.

func (*CancelNil) Incubate

func (v *CancelNil) Incubate(node ast.Node, typeInfo *types.Info) []*viruses.Infection

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL