perf: golang.org/x/perf/internal/basedir Index | Files

package basedir

import "golang.org/x/perf/internal/basedir"

Package basedir finds templates and static files associated with a binary.

Index

Package Files

basedir.go

func Find Uses

func Find(pkg string) string

Find locates a directory for the given package. pkg should be the directory that contains the templates and/or static directories. If pkg cannot be found, an empty string will be returned.

Package basedir imports 6 packages (graph) and is imported by 2 packages. Updated 2017-07-20. Refresh now. Tools for package owners.