importer

package
v0.0.0-...-576eb72 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2014 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package importer implements an importer for go/types which imports packages from gc compiled objects and falls back to importing go code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Importer

type Importer struct {
	TypeCheckFuncBodies func(string) bool
	// contains filtered or unexported fields
}

func New

func New() *Importer

func (*Importer) Import

func (imp *Importer) Import(imports map[string]*types.Package, path string) (*types.Package, error)

Jump to

Keyboard shortcuts

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