util

package
v0.0.0-...-57c44c3 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2014 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bold

func Bold(str string) string

func Color

func Color(color, str string) string

func ReadDir

func ReadDir(dirname string) ([]os.FileInfo, error)

ReadDir reads the directory named by dirname and returns a list of sorted(by ModTime) directory entries. http://localhost:6060/src/pkg/io/ioutil/ioutil.go?s=3159:3210#L87

func SHA1

func SHA1(in string) string

func TimestampToTime

func TimestampToTime(timestamp *int64) (*time.Time, error)

func UUID

func UUID() (uuid string, err error)

based on suggestions from, https://groups.google.com/d/msg/golang-nuts/d0nF_k4dSx4/rPGgfXv6QCoJ

Types

This section is empty.

Jump to

Keyboard shortcuts

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