蛋蛋星球RabbitMq消费项目
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

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