The highest tagged major version is
v8.
package
Version:
v5.1.0
Opens a new window with list of versions in this module.
Published: Jul 27, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
formatMemoryUsage converts bytes to megabytes
func JoinBytes(bytes ...interface{}) []byte
JoinBytes is an easy way to join multiple values into a single []byte
toNumber converts multiple types to a number
accepts: int (and variants), string, []byte, byte, bool
func ToString[T interface{ string | []byte }](val interface{}) T
toString converts multiple types to a string|[]byte
accepts: string, []byte, byte, int (and variants), [][]byte, []interface{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.