source

package
v0.0.0-...-7ce4fdf Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

func NewFile

func NewFile(file *ast.File) *File

func (*File) FindMethods

func (s *File) FindMethods(structName string, passThroughMethods map[string]bool) ([]method.Method, []string)

func (*File) FindStructDeclaration

func (s *File) FindStructDeclaration(typeName string) *ast.GenDecl

Jump to

Keyboard shortcuts

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