gopathload

package
v1.2.117 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportFile

func ImportFile(file string) (srcdir, importPath string, err error)

ImportFile finds the package containing importPath, and returns its source directory (an element of $GOPATH) and its import path relative to it.

func ImportPackage

func ImportPackage(importPath string) (srcdir string, err error)

ImportPackage finds the package and returns its source directory (an element of $GOPATH).

Types

This section is empty.

Jump to

Keyboard shortcuts

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