util

package
v0.3.3-buildfails Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2015 License: MIT, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGGER = &Logger{log.New(os.Stderr, "", log.LstdFlags)}

Functions

func Fatal

func Fatal(format string, v ...interface{})

fatal is like panic except it displays only the current goroutine's stack.

func PartitionString

func PartitionString(s string, chunkSize int) []string

partitionString partitions the string into chunks of given size, with the last chunk of variable size.

Types

type Logger

type Logger struct {
	*log.Logger
}

Jump to

Keyboard shortcuts

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