utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(bashPath, path string) string

Abs Use bashPath as the working directory to return the absolute path

func BasePath

func BasePath() string

BasePath return executable file directory

func BytesToString

func BytesToString(b []byte) (str string)

BytesToString []byte to string

func StringToBytes

func StringToBytes(str string) (b []byte)

StringToBytes string to []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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