Documentation
¶
Index ¶
- Constants
- func FromJson(jsonStr string, obj interface{}) error
- func Marshal(obj interface{}) ([]byte, error)
- func ToJson(obj interface{}) (string, error)
- func ToJsonBytesIgnoreError(obj interface{}) []byte
- func ToJsonIgnoreError(obj interface{}) string
- func Unmarshal(bs []byte, obj interface{}) error
- type TimeDecoder
- type TimeEncoder
Constants ¶
View Source
const AppTimeFormat = "2006-01-02 15:04:05"
View Source
const BlankString = ""
Variables ¶
This section is empty.
Functions ¶
func ToJsonBytesIgnoreError ¶
func ToJsonBytesIgnoreError(obj interface{}) []byte
func ToJsonIgnoreError ¶
func ToJsonIgnoreError(obj interface{}) string
Types ¶
type TimeDecoder ¶
type TimeDecoder struct { }
type TimeEncoder ¶
type TimeEncoder struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.