Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONMarshal ¶
json.Marshal()函数默认用HTMLEscape进行编码,它将替换“<”、“>”、“&”、U+2028和U+2029, 并将其转义为“\u003c”、“\u003e”、“\u0026”、“\ u2028”和“\u2029” 所以在这里做处理,判断是否开启转义
func TypeIsError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.