utils

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 6, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PRESERVED_CHECKSUM_LENGTH = 64
)

Variables

This section is empty.

Functions

func GetChecksum

func GetChecksum(data []byte) string

func LoadConfig

func LoadConfig(fileName string, v interface{}) error

func LockFile

func LockFile(fileName string) error

func MkdirIfNotExists

func MkdirIfNotExists(path string) error

func SaveConfig

func SaveConfig(fileName string, v interface{}) error

func SliceToMap added in v0.1.3

func SliceToMap(slices []string) map[string]string

func UnlockFile

func UnlockFile(fileName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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