面包店
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.
 
 
 
 
 

10 lines
182 B

  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. }