Browse Source

添加处理urlparameter的文件

pull/38/head
zhangxin 3 years ago
parent
commit
a6c05a513e
1 changed files with 19 additions and 0 deletions
  1. +19
    -0
      grmi/DealUrlParams.go

+ 19
- 0
grmi/DealUrlParams.go View File

@ -0,0 +1,19 @@
/******************************************************************************
* @Function Name :
*-----------------------------------------------------------------------------
* @Description :
* @Function Parameters:
* @Return Value :
* @Author : Zhang Xin
* @Date : 2021/3/3 11:02
******************************************************************************/
package grmi
func DeleteUrlParametersEmpty(urlParameters *map[string]string) {
for key, value := range *urlParameters {
if value == "" {
delete(*urlParameters, key)
}
}
}

Loading…
Cancel
Save