util

package
v0.0.0-...-1e4f5ff Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2014 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MonthInts = map[string]int{
	"January":   int(time.January),
	"February":  int(time.February),
	"March":     int(time.March),
	"April":     int(time.April),
	"May":       int(time.May),
	"June":      int(time.June),
	"July":      int(time.July),
	"August":    int(time.August),
	"September": int(time.September),
	"October":   int(time.October),
	"November":  int(time.November),
	"December":  int(time.December),
}

Functions

func Confirm

func Confirm(q string) (ans bool, err error)

func DefaultString

func DefaultString(s string, d string) string

func FileExists

func FileExists(path string) bool

func PrintUnderlined

func PrintUnderlined(s string)

func Unzip

func Unzip(zipsrc, dest string) error

func Verbosef

func Verbosef(template string, args ...interface{})

func ZipFolder

func ZipFolder(srcFolderPath string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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