concourse / concourse

Exported function returning value of unexported type RVV-B0011
Anti-pattern
Critical
1 occurrence in this check
exported func NewScanner returns unexported type *lidar.scanner, which can be annoying to use
 11	"strconv"
 12)
 13
 14func NewScanner(checkFactory db.CheckFactory, planFactory atc.PlanFactory, batchSize int) *scanner { 15	return &scanner{
 16		checkFactory: checkFactory,
 17		planFactory:  planFactory,