Documentation
¶
Overview ¶
General utility funcs ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteCloser ¶
func ByteCloser(b []byte) io.ReadCloser
Take in a byte array, and return an io.ReadCloser compatible bytes.Reader.
func ContainsString ¶
Check if a string slice contains the given string
func ReadCloser ¶
func ReadCloser(r io.Reader) io.ReadCloser
Take in a plain io.Reader, and return a new Struct with a fake Close method.
func StringCloser ¶
func StringCloser(s string) io.ReadCloser
Take in a string, and return an io.ReadCloser compatible string.Reader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.