蛋蛋星球-客户端
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.

1 viikko sitten
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. }