智慧食堂
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 година
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. }