utils

package
v0.0.0-...-63ab0d9 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2015 License: MPL-2.0 Imports: 5 Imported by: 3

Documentation

Overview

Package utils contains polka specific utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppErrorMessage

func AppErrorMessage() error

func AreWeInAppRootDir

func AreWeInAppRootDir() (string, error)

AreWeInAppRootDir returns nil if we're in the app root directory; otherwise it retuns the error.

func AreWeInProjectDir

func AreWeInProjectDir() (string, error)

func FindTemplateDir

func FindTemplateDir() (string, error)

FindTemplateDir returns the absolute path to the templates directory as a string.

func TemplateDirExists

func TemplateDirExists(dirName string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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