command
Version:
v0.0.0-...-4e9b90d
Opens a new window with list of versions in this module.
Published: Jun 21, 2018
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Command gobytes prints its input as a []byte literal.
Examples:
$ echo foo | gobytes
[]byte{0x66, 0x6f, 0x6f, 0xa}
$ echo foo | gobytes -s
"foo\n"
Flag -s prints a string literal instead of []byte.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.