# Functions
BD09toGCJ02 百度坐标系->火星坐标系.
BD09toWGS84 百度坐标系->WGS84坐标系.
No description provided by the author
No description provided by the author
No description provided by the author
*
* 大数组分割成多个小数组 - 用于批量处理数据的时候,防止SQL参数过大
* @param arr 大数组
* @param per 每个小数组的长度
* @return 小数组
*/.
*
* 大数组分割成多个小数组 - 用于批量处理数据的时候,防止SQL参数过大
* @param arr 大数组
* @param per 每个小数组的长度
* @return 小数组
*/.
No description provided by the author
No description provided by the author
No description provided by the author
两点之间的距离,单位(米).
*
* 切片数组中移除指定的值
* @param arr 原始切片
* @param exclude 被排除的切片
* @return 切片
*/.
No description provided by the author
No description provided by the author
GCJ02toBD09 火星坐标系->百度坐标系.
GCJ02toWGS84 火星坐标系->WGS84坐标系.
No description provided by the author
No description provided by the author
*
* 判断目标值是否在枚举值数组中
* @param elem 目标值
* @param arr byte数组
*/.
*
* 判断目标值是否在枚举值数组中
* @param elem 目标值
* @param arr int数组
*/.
No description provided by the author
*
* 判断目标值ID是否在枚举值数组中
* @param elem 目标值
* @param arr uint64数组
*/.
*
* 判断目标值是否在枚举值数组中
* @param elem 目标值
* @param arr uint8数组
*/.
No description provided by the author
No description provided by the author
No description provided by the author
* 目标:精确判断某个点是否在多边形内
* 理论依据:目标点向右延伸,得出和多边形有几个交叉点(临界值判定规则:交叉点两端必须在射线两侧,判断依据:y1<y且y2>=y)
* 如果是奇数 => 点在多边形内
* 否则为偶数 => 点在多边形外
*/.
*
* 粗略判断目标点是否在多边形内,判断规则:
* 1.精确判断目标在多边形内,返回True
* 2.继续取出距离最近的一条边,计算距离,并根据误差值判断
*/.
No description provided by the author
JsonDecode unmarshal.
JsonEncode marshall.
No description provided by the author
LoadYmlConf 读取Yaml配置文件.
GetTranslationIns 返回参数验证的实列.
No description provided by the author
No description provided by the author
No description provided by the author
随机生成字符串.
将传入的变量转换成接口签名校验需要的格式.
将传入的变量转换成 - map[string]interface{}.
No description provided by the author
保留两位小数.
保留六位小数(经纬度).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Strvalconvert interface to string.
No description provided by the author
No description provided by the author
No description provided by the author
TimeMPeriod 月份时间区间.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TimeToYm 时间戳转年月.
No description provided by the author
No description provided by the author
No description provided by the author
TimeYPeriod 年区间.
No description provided by the author
ToMapByJson 通过json转为map.
No description provided by the author
No description provided by the author
No description provided by the author
*
* 整型数组去重 - 用于ID数组去重
* @param arr 字符串数组
*/.
*
* 字符串数组去重 - 用于ID数组去重
* @param arr 字符串数组
*/.
*
* 整型数组去重 - 用于ID数组去重 todo:排序错乱
* @param arr 字符串数组
*/.
*
* 整型数组去重 - 用于ID数组去重
* @param arr 字符串数组
*/.
No description provided by the author
No description provided by the author
WGS84toBD09 WGS84坐标系->百度坐标系.
WGS84toGCJ02 WGS84坐标系->火星坐标系.
WithLabelOption 字段转换成中文标签.
WithRulesMsgOption 注册自定义错误信息.
WithRulesOption 注册自定义验证方法.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
=============================== string_int/正序 ===============================.
=============================== string_string/正序 ===============================.
=============================== uint64_int/正序 ===============================.
=============================== uint64_int64/正序 ===============================.
=============================== uint64_string/正序 ===============================.
=============================== string_int/倒序 ===============================.
=============================== string_string/倒序 ===============================.
=============================== uint64_int/倒序 ===============================.
=============================== uint64_string/倒序 ===============================.
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
=============================== int/正序 ===============================.
No description provided by the author
No description provided by the author
=============================== uint64/正序 ===============================.
No description provided by the author
No description provided by the author
No description provided by the author
=============================== int/倒序 ===============================.
No description provided by the author
No description provided by the author
=============================== uint64/倒序 ===============================.
No description provided by the author
No description provided by the author