Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2016 License: 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