ImporterFrom
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.types
- Platforms: .NET, .NET Standard 2.0, Island
- Ancestry: Importer | ImporterFrom
Required Methods
Import (declared in Importer)
// .NET, .NET Standard 2.0
method Import(path: string): tuple of (Memory<Package>, error)
// Island
method Import(path: string): tuple of (Memory<Package>, error)
// .NET, .NET Standard 2.0
(Memory<Package>, error) Import(string path)
// Island
(Memory<Package>, error) Import(string path)
// .NET, .NET Standard 2.0
func Import(_ path: string) -> (Memory<Package>, error)
// Island
func Import(_ path: string) -> (Memory<Package>, error)
Parameters:
- path:
ImportFrom
// .NET, .NET Standard 2.0
method ImportFrom(path: string; dir: string; mode: ImportMode): tuple of (Memory<Package>, error)
// Island
method ImportFrom(path: string; dir: string; mode: ImportMode): tuple of (Memory<Package>, error)
// .NET, .NET Standard 2.0
(Memory<Package>, error) ImportFrom(string path, string dir, ImportMode mode)
// Island
(Memory<Package>, error) ImportFrom(string path, string dir, ImportMode mode)
// .NET, .NET Standard 2.0
func ImportFrom(_ path: string, _ dir: string, _ mode: ImportMode) -> (Memory<Package>, error)
// Island
func ImportFrom(_ path: string, _ dir: string, _ mode: ImportMode) -> (Memory<Package>, error)
Parameters:
- path:
- dir:
- mode: