importer

package
v0.0.0-...-fab57c2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package importer provides a mockable wrapper for go/importer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct{}

func (*Impl) Default

func (*Impl) Default() types.Importer

func (*Impl) For

func (*Impl) For(compiler string, lookup importer.Lookup) types.Importer

func (*Impl) ForCompiler

func (*Impl) ForCompiler(fset *token.FileSet, compiler string, lookup importer.Lookup) types.Importer

type Interface

type Interface interface {
	Default() types.Importer
	For(compiler string, lookup importer.Lookup) types.Importer
	ForCompiler(fset *token.FileSet, compiler string, lookup importer.Lookup) types.Importer
}

Jump to

Keyboard shortcuts

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