st

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

type Finder struct {
	// contains filtered or unexported fields
}

Finder is a struct that represents a Go struct type finder.

func NewFinder

func NewFinder(scanner *syntree.Scanner, projects projscan.ProjectFinder, packages projscan.PackageFinder) *Finder

NewFinder creates a new Finder instance with a given Scanner, ProjectFinder, and PackageFinder.

func (*Finder) FindStructByDirectoryAndName

func (f *Finder) FindStructByDirectoryAndName(directory, structName string) (*projscan.Struct, error)

FindStructByDirectoryAndName searches for a Go struct type in a directory by its name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳