Versions in this module Expand all Collapse all v6 v6.1.0 Sep 26, 2019 v6.0.0 Sep 10, 2019 Changes in this version + func EncodeNowTime(layout string, utc ...bool) []byte + func EncodeTime(t time.Time, layout string, utc ...bool) []byte + func MarshalJSON(w io.Writer, v interface{}) (n int, err error) + func MarshalKvJSON(w io.Writer, args ...interface{}) (n int, err error) + func ToBytes(i interface{}, fmtSprintf ...bool) []byte + func ToBytesErr(i interface{}, fmtSprintf ...bool) ([]byte, error) + func ToString(i interface{}, fmtSprintf ...bool) string + func ToStringErr(i interface{}, fmtSprintf ...bool) (string, error) + func Write(w io.Writer, i interface{}, fmtSprintf ...bool) error Other modules containing this package github.com/xgfone/go-tools/v7