util

package
v0.0.0-...-dc1a0b8 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Debug bool
View Source
var NotImplementedError = fmt.Errorf("Error: not implemented yet.")

Functions

func DErr

func DErr(format string, a ...interface{})

func DOut

func DOut(format string, a ...interface{})

func Hash

func Hash(data []byte) (mh.Multihash, error)

global hash function. uses multihash SHA2_256, 256 bits

func PErr

func PErr(format string, a ...interface{})

Shorthand printing functions.

func POut

func POut(format string, a ...interface{})

func TildeExpansion

func TildeExpansion(filename string) (string, error)

tilde expansion

Types

type Key

type Key string

a Key for maps. It's a string (rep of a multihash).

Jump to

Keyboard shortcuts

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