Documentation ¶ Index ¶ type Scanner func New(opts ...options.ScannerOption) *Scanner func (s *Scanner) Name() string func (s *Scanner) Scan(reader io.Reader) (scan.Results, error) func (s *Scanner) ScanFS(ctx context.Context, fsys fs.FS, dir string) (scan.Results, error) func (s *Scanner) ScanFile(filepath string, fsys fs.FS) (scan.Results, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Scanner ¶ type Scanner struct { // contains filtered or unexported fields } func New ¶ func New(opts ...options.ScannerOption) *Scanner func (*Scanner) Name ¶ func (s *Scanner) Name() string func (*Scanner) Scan ¶ func (s *Scanner) Scan(reader io.Reader) (scan.Results, error) func (*Scanner) ScanFS ¶ func (s *Scanner) ScanFS(ctx context.Context, fsys fs.FS, dir string) (scan.Results, error) func (*Scanner) ScanFile ¶ func (s *Scanner) ScanFile(filepath string, fsys fs.FS) (scan.Results, error) Source Files ¶ View all Source files scanner.go Directories ¶ Show internal Expand all Path Synopsis parser Click to show internal directories. Click to hide internal directories.