util

package
v0.0.0-...-3689f49 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentDir

func CurrentDir() string

CurrentDir returns the current working directory

func Exists

func Exists(name string) bool

Exists checks whether a file is exists or not

func FilePath

func FilePath(dir, fileName, ext string) string

FilePath returns the full path (with extension) to file

func HomeDir

func HomeDir() string

HomeDir returns the home directory

func IsDigit

func IsDigit(v string) bool

IsDigit check whether a string is a decimal digit

func ServerKey

func ServerKey(p string, n int) string

ServerKey returns the key as string

Types

This section is empty.

Jump to

Keyboard shortcuts

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