util

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2018 License: MIT Imports: 13 Imported by: 4 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(err error)

Check is used to panic in an error occurs. Don't do this! We're only using it to make the examples shorter.

func Decode

Decode decodes the input from base64 It can optionally unzip the input after decoding

func Encode

Encode encodes the input in base64 It can optionally zip the input before encoding

func MustReadStdin

func MustReadStdin() string

MustReadStdin blocks until input is received from stdin

func RandSeq

func RandSeq(n int) string

RandSeq generates a random string to serve as dummy data

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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