importer

package
v0.0.0-...-b75375f Latest Latest
Warning

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

Go to latest
Published: Nov 10, 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