lookup

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGopkgDir

func AddGopkgDir(pkgname string)

AddGopkgDir add package dir under GOPATH to lookup

func AddSearchDir

func AddSearchDir(dirname string)

AddSearchDir add dir to lookup

func Find

func Find(filename ...string) (string, error)

Find finds the first matched filename in search dirs

func FindAt

func FindAt(dir string, filename ...string) (string, error)

FindAt finds the first matched filename in given dir

Types

This section is empty.

Jump to

Keyboard shortcuts

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