text

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChompBytes

func ChompBytes(b []byte) string

ChompBytes converts b to a string with its trailing newline, if present, removed.

func RandomHex added in v1.49.0

func RandomHex(n int) (string, error)

RandomHex returns an n-byte hexademical random string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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