text

package
v16.11.7 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 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 hexadecimal 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