simpleRequest/utils.go
= 9bff109127 1. 优化说明文档
2. 添加了部分测试用例
2022-12-09 21:43:15 +08:00

18 lines
324 B
Go

/*
* @FileName: utils.go
* @Author: JJXu
* @CreateTime: 2022/3/29 上午11:16
* @Description:
*/
package simpleRequest
func IsJSONType(ct string) bool {
return jsonCheck.MatchString(ct)
}
// IsXMLType method is to check XML content type or not
func IsXMLType(ct string) bool {
return xmlCheck.MatchString(ct)
}