exp

package
v0.0.0-...-9a7c6d1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBasic

func IsBasic(t types.Type) bool

func IsStruct

func IsStruct(t types.Type) bool

Types

type Program

type Program struct {
	*loader.Program
	// contains filtered or unexported fields
}

func Load

func Load(importPath string) (*Program, error)

func LoadDir

func LoadDir(path string) (*Program, error)

func LoadFile

func LoadFile(filePath string) (*Program, error)

func (Program) PkgByName

func (p Program) PkgByName(pkgName string) *loader.PackageInfo

func (Program) PkgByPath

func (p Program) PkgByPath(importPath string) *loader.PackageInfo

func (Program) Type

func (p Program) Type(pkgName, ident string) types.Type

func (Program) Underlying

func (p Program) Underlying(pkgName, ident string) types.Type

Jump to

Keyboard shortcuts

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