checker

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPackage

func FindPackage(path string) []*ast.File

func GetFset

func GetFset() *token.FileSet

func GetSerializablePackages added in v0.0.23

func GetSerializablePackages() map[string]map[string]interface{}

func RegisterPackages

func RegisterPackages(path string, files map[string]string)

Types

type Importer

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

func New

func New() *Importer

func (*Importer) Import

func (p *Importer) Import(path string) (*types.Package, error)

Jump to

Keyboard shortcuts

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