utils

package
v0.0.0-...-afdbc5d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) bool

Exists returns true when a folder/file exists

func FixName

func FixName(path string) string

FixName converts [/ to _](1), [ to -](2) and [, to __](3)

func FixPath

func FixPath(path string) string

FixPath converts \ and \\ to /

func GetCurrentDir

func GetCurrentDir() (string, error)

GetCurrentDir gets the directory where the application was run

Types

This section is empty.

Jump to

Keyboard shortcuts

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