sort

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLinkStr

func CreateLinkStr(paramMap map[string]string) string

*

  • 把数组所有元素排序,并按照“参数=参数值”的模式用“&”字符拼接成字符串
  • @param paramMap 需要排序并参与字符拼接的参数组
  • @return string 拼接后字符串

func MapSort

func MapSort(paramMap map[string]string) []string

map key排序,由小到大排序

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL