perf: Index | Files

package basedir

import ""

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


Package Files


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 3 packages. Updated 2019-12-10. Refresh now. Tools for package owners.