Documentation ¶
Index ¶
Constants ¶
View Source
const (
TimeLayout = "2006-01-02 15:04:05"
)
TimeLayout a common layout time format
Variables ¶
This section is empty.
Functions ¶
func Traverse ¶
func Traverse(b string, callback TraverseCallback)
Traverse traverse json object and call the callback function
func TraverseBytes ¶
func TraverseBytes(b []byte, callback TraverseCallback)
TraverseBytes is like Traverse but more efficient if use bytes
Types ¶
type JSONTime ¶ added in v1.2.0
JSONTime is a common layout time format, fully compatible with JSON and GORM
func (JSONTime) MarshalJSON ¶ added in v1.2.0
func (*JSONTime) UnmarshalJSON ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.