Documentation ¶
Index ¶
- func GetJsonBytes(o interface{})
- func IntToByte(v int) []byte
- func ReadFileAsString(path string) string
- func ReadFileData(path string) (string, error)
- func StdMarshal(o interface{}) ([]byte, error)
- func StreamToByte(stream io.Reader) []byte
- func ToLowerAscii(src string) string
- func UnsafeBytes(s string) []byte
- func UnsafeString(data []byte) string
- type ByteSize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJsonBytes ¶
func GetJsonBytes(o interface{})
func ReadFileAsString ¶
func ReadFileData ¶
func StdMarshal ¶
func StreamToByte ¶
func ToLowerAscii ¶
converts ascii chars of a given string in lowercase this function is at least twice as fast as standard to lower function of go standard library
func UnsafeBytes ¶
func UnsafeString ¶
A hack until issue golang/go#2632 is fixed. See: https://github.com/golang/go/issues/2632
Types ¶
Click to show internal directories.
Click to hide internal directories.