Documentation ¶ Overview ¶ Package basedir finds templates and static files associated with a binary. Index ¶ func Find(pkg string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Find ¶ 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. Types ¶ This section is empty. Source Files ¶ View all Source files basedir.go Click to show internal directories. Click to hide internal directories.