Help us shape the future of Go! Take the 2026 Go Developer Survey

setup

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package setup provides initialization and configuration functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureWalker

func ConfigureWalker(cfg WalkerConfig, infoLog InfoLogger) (
	*ignore.IgnoreMatcher,
	[]walker.Option,
	error,
)

Types

type InfoLogger

type InfoLogger func(format string, args ...interface{})

type WalkerConfig

type WalkerConfig struct {
	RootDir       string
	Concurrent    bool
	MaxWorkers    int
	MaxFileSizeMB int64
	Extensions    string
	IgnoreHidden  bool
	IgnoreGit     bool
	CustomIgnore  string
	IncludeBinary bool
	ShowProgress  bool
	Ctx           context.Context
	Quiet         bool
	Logger        utils.Logger
}

Jump to

Keyboard shortcuts

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