util

package
v0.0.0-...-1c8de56 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MaxUint = ^uint(0)

MaxUint maximum value of uint.

Variables

This section is empty.

Functions

func ReadArchive

func ReadArchive(filepath string) (bytes []byte, err error)

ReadArchive reads gzip archive

func Truncate

func Truncate(value []byte, maxChars int) string

Truncate the string to specified length and append '...' if too long.

Types

This section is empty.

Jump to

Keyboard shortcuts

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