text

package
v14.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 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

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