蛋蛋星球 后台端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

map.go 182 B

2 months ago
123456789
  1. package utils
  2. // GetOneKeyOfMapString 取出Map的一个key
  3. func GetOneKeyOfMapString(collection map[string]string) string {
  4. for k := range collection {
  5. return k
  6. }
  7. return ""
  8. }