util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountFormat

func CountFormat(format string) int

CountFormat - counts how many formatted characters in the string

func DirExists

func DirExists(dir string) bool

func FileExists

func FileExists(file string) bool

func MakePath

func MakePath(dir string, file string) string

func Member

func Member(needle string, haystack string) bool

Member - Determine if a needle is in a comma delimited haystack

func ParseDate

func ParseDate(input string) int64

ParseDate - Parse date time from a variety of formats

func Unformat

func Unformat(format string) (unformat string)

Unformat - removes all console formatting

Types

This section is empty.

Jump to

Keyboard shortcuts

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